force RLREL in sync scripts

This commit is contained in:
Louis Abel 2023-09-03 15:06:20 -07:00
parent 72e11ceb01
commit d7e226e46f
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36
3 changed files with 13 additions and 0 deletions

View File

@ -6,11 +6,17 @@
# Source common variables # Source common variables
# shellcheck disable=SC2046,1091,1090 # shellcheck disable=SC2046,1091,1090
export SHORT=Rocky export SHORT=Rocky
export RLREL=beta
source $(dirname "$0")/common source $(dirname "$0")/common
# Major Version (eg, 8) # Major Version (eg, 8)
MAJ=${RLVER} MAJ=${RLVER}
if [[ "${RLVER}" -ne "8" ]]; then
echo "This is only used for Rocky Linux 8 releases."
exit 1
fi
# sync all pieces of a release, including extras, nfv, etc # sync all pieces of a release, including extras, nfv, etc
for COMPOSE in "${NONSIG_COMPOSE[@]}"; do for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
echo "${COMPOSE}: Syncing" echo "${COMPOSE}: Syncing"

View File

@ -6,11 +6,17 @@
# Source common variables # Source common variables
# shellcheck disable=SC2046,1091,1090 # shellcheck disable=SC2046,1091,1090
export SHORT=Rocky export SHORT=Rocky
export RLREL=lh
source $(dirname "$0")/common source $(dirname "$0")/common
# Major Version (eg, 8) # Major Version (eg, 8)
MAJ=${RLVER} MAJ=${RLVER}
if [[ "${RLVER}" -ne "8" ]]; then
echo "This is only used for Rocky Linux 8 releases."
exit 1
fi
# sync all pieces of a release, including extras, nfv, etc # sync all pieces of a release, including extras, nfv, etc
for COMPOSE in "${NONSIG_COMPOSE[@]}"; do for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
echo "${COMPOSE}: Syncing" echo "${COMPOSE}: Syncing"

View File

@ -14,6 +14,7 @@ fi
if [[ "${RLVER}" -eq "8" ]]; then if [[ "${RLVER}" -eq "8" ]]; then
echo "This is only used for Rocky Linux 9+ releases." echo "This is only used for Rocky Linux 9+ releases."
exit 1
fi fi
# Major Version (eg, 8) # Major Version (eg, 8)