mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-12 07:10:27 +00:00
15 lines
290 B
Bash
15 lines
290 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
source "${SECRET_PROJECT_ROOT}/utils/build-utils.sh"
|
||
|
|
||
|
# Copying all the required files to the build directory:
|
||
|
preinstall_files
|
||
|
|
||
|
# Building .rpm package:
|
||
|
cd "$SCRIPT_DEST_DIR" && build_package "rpm"
|
||
|
|
||
|
# Cleaning up:
|
||
|
clean_up_files && cd "${SECRET_PROJECT_ROOT}"
|