From 3c8d0d0ef5dcddb82cab797a0f6cdf0cc59fec9c Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 26 Dec 2023 01:06:43 -0700 Subject: [PATCH] add ln for new way --- sync/minor-release-sync-to-staging.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh index 457ac1e..74bdee1 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -32,10 +32,15 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/" done pushd "isos/${ARCH}" || { echo "${ARCH}: Failed to change directory"; break; } + # old deprecated way ln -s "Rocky-${REVISION}-${ARCH}-boot.iso" "Rocky-${ARCH}-boot.iso" ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd1.iso" ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd.iso" ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${ARCH}-minimal.iso" + # new way + ln -s "Rocky-${REVISION}-${ARCH}-boot.iso" "Rocky-${MAJ}-latest-${ARCH}-boot.iso" + ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${MAJ}-latest-${ARCH}-dvd.iso" + ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${MAJ}-latest-${ARCH}-minimal.iso" for file in *.iso; do printf "# %s: %s bytes\n%s\n" \ "${file}" \