diff --git a/sync/beta-release-sync-to-staging.sh b/sync/beta-release-sync-to-staging.sh index 5e1aa90..57159f9 100644 --- a/sync/beta-release-sync-to-staging.sh +++ b/sync/beta-release-sync-to-staging.sh @@ -77,3 +77,12 @@ for ARCH in "${ARCHES[@]}"; do treeinfoModder "${ARCH}" treeinfoSaver "${ARCH}" done + +# Change Symlink if required +echo "Setting symlink to ${REV}" +pushd "${STAGING_ROOT}/${CATEGORY_STUB}" || exit +/bin/rm "${STAGING_ROOT}/${CATEGORY_STUB}/8-BETA" +ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" 8-BETA +echo "Attempting hard link" +perform_hardlink "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" +popd || exit diff --git a/sync/lh-release-sync-to-staging.sh b/sync/lh-release-sync-to-staging.sh index 31be96a..b092deb 100644 --- a/sync/lh-release-sync-to-staging.sh +++ b/sync/lh-release-sync-to-staging.sh @@ -77,3 +77,12 @@ for ARCH in "${ARCHES[@]}"; do treeinfoModder "${ARCH}" treeinfoSaver "${ARCH}" done + +# Change Symlink if required +echo "Setting symlink to ${REV}" +pushd "${STAGING_ROOT}/${CATEGORY_STUB}" || exit +/bin/rm "${STAGING_ROOT}/${CATEGORY_STUB}/8-LookAhead" +ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" 8-LookAhead +echo "Attempting hard link" +perform_hardlink "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" +popd || exit