-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1aceb2
commit b394a4d
Showing
4 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# Syncs everything from SIG production to vault | ||
|
||
if [[ "$RLREL" == "lh" ]] || [[ "$RLREL" == "beta" ]]; then | ||
echo "Lookahead nor Beta should be vaulted" | ||
exit 1 | ||
fi | ||
|
||
# Source common variables | ||
# shellcheck disable=SC2046,1091,1090 | ||
source "$(dirname "$0")/common" | ||
|
||
MAJOR=${RLVER} | ||
PRE=${PREREV} | ||
|
||
cd "${PRODUCTION_ROOT}/${SIG_CATEGORY_STUB}" || { echo "Failed to change directory"; ret_val=1; exit 1; } | ||
ret_val=$? | ||
|
||
if [ $ret_val -eq "0" ]; then | ||
TARGET="${PRODUCTION_ROOT}/${SIG_VAULT_STUB}/${PRE}" | ||
mkdir -p "${TARGET}" | ||
rsync_no_delete_prod "${MAJOR}" "${TARGET}" | ||
echo "Syncing to the vault completed. Please run the file list script." | ||
fi |