diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh new file mode 100644 index 0000000..722ad2f --- /dev/null +++ b/sync/minor-release-sync-to-staging.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# Performs a full on sync of a minor release, directories and all. It calls the +# other scripts in this directory to assist. +# Source common variables +source "./common" + +# sync all pieces of a release, including extras, nfv, etc + +# move around the ISOs a bit, make things comfortable diff --git a/sync/prep-staging-8.sh b/sync/prep-staging-8.sh index 1179f57..ddbfa37 100644 --- a/sync/prep-staging-8.sh +++ b/sync/prep-staging-8.sh @@ -12,7 +12,7 @@ # Compose dir example: /mnt/repos-staging/mirror/pub/rocky/8.4-RC2 # Source common variables -source $(dirname "$0")/common +source "./common" echo "** Updating source repos" for y in "${ALL_REPOS[@]}"; do diff --git a/sync/sync-to-prod.sh b/sync/sync-to-prod.sh index f8279ba..6505a39 100644 --- a/sync/sync-to-prod.sh +++ b/sync/sync-to-prod.sh @@ -2,7 +2,7 @@ # Syncs everything from staging to production # Source common variables -source $(dirname "$0")/common +source "./common" REV=${1} diff --git a/sync/sync-to-staging-sig.sh b/sync/sync-to-staging-sig.sh index 06561f1..ff52ebb 100644 --- a/sync/sync-to-staging-sig.sh +++ b/sync/sync-to-staging-sig.sh @@ -1,7 +1,7 @@ #!/bin/bash # Source common variables -source $(dirname "$0")/common +source "./common" # Major Version (eg, 8) MAJ=${1} diff --git a/sync/sync-to-staging.sh b/sync/sync-to-staging.sh index 7581d3d..aeecef6 100644 --- a/sync/sync-to-staging.sh +++ b/sync/sync-to-staging.sh @@ -1,7 +1,7 @@ #!/bin/bash # Source common variables -source $(dirname "$0")/common +source "./common" # Major Version (eg, 8) MAJ=${1}