git-secret/utils/rpm/build.sh
Nikita Sobolev 19941f91f4
Adds release-ci script to test installation (#664)
* Adds release-ci script to test installation

* Fixes CI

* Fixes CI

* Renames some variables to follow the same SECRETS_ convention
2021-05-05 15:59:28 +03:00

16 lines
328 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# shellcheck disable=SC1090,SC1091
source "$SECRETS_PROJECT_ROOT/utils/build-utils.sh"
# Copying all the required files to the build directory:
preinstall_files '-c'
# Building .rpm package:
cd "$SCRIPT_DEST_DIR" && build_package 'rpm'
# Cleaning up:
clean_up_files && cd "$SECRETS_PROJECT_ROOT"