Don't require the update file to exist (#3436)

This commit is contained in:
Devin Binnie
2025-05-22 15:58:59 -04:00
committed by GitHub
parent 742862e9a2
commit 11efb73f4a

View File

@@ -17,7 +17,7 @@ NEXT_MAJOR_VERSION="$(npx semver $STABLE_VERSION -i major)"
NEWER_VERSION_EXISTS="$(git ls-remote --tags origin v${NEXT_MINOR_VERSION} v${NEXT_MAJOR_VERSION})"
if [ -e .esr ] && [ ! -z "$NEWER_VERSION_EXISTS" ]; then
echo "ESR branch, skipping auto-updater yml generation"
rm ./release/"${RELEASE_VERSION}"*.yml
rm ./release/"${RELEASE_VERSION}"*.yml || true
exit 0
fi