You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git-secret/utils/rpm/rpm-build.sh

16 lines
330 B
Bash

#!/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 "-T"
# Building .rpm package:
cd "$SCRIPT_DEST_DIR" && build_package "rpm"
# Cleaning up:
clean_up_files && cd "${SECRET_PROJECT_ROOT}"