Skip to content

Commit

Permalink
add ln for new way
Browse files Browse the repository at this point in the history
  • Loading branch information
nazunalika committed Dec 26, 2023
1 parent cdcf7e4 commit 3c8d0d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sync/minor-release-sync-to-staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit 3c8d0d0

Please sign in to comment.