git-secret/utils/rpm/build.sh
Nikita Sobolev 37a28389d2
Adds new installation instructions for deb and rpm (#662)
* Adds new installation instructions for deb and rpm

* Fixes CI
2021-05-04 21:58:36 +03:00

16 lines
326 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# shellcheck disable=SC1090,SC1091
source "$SECRET_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 "$SECRET_PROJECT_ROOT"