mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-18 15:26:58 +00:00
15 lines
353 B
Bash
15 lines
353 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
if [[ "$GITSECRET_DIST" == "rpm" ]]; then
|
|
# To deploy `rpm`-packages this utility is needed:
|
|
sudo apt-get install -y rpm;
|
|
fi
|
|
|
|
if [[ ! -z "$GITSECRET_DIST" ]] && [[ -z "$KITCHEN_REGEXP" ]]; then
|
|
# When making a non-container build, this step will generate
|
|
# proper manifest files:
|
|
make "deploy-$GITSECRET_DIST";
|
|
fi
|