Reject pre-release versions in update-manifest.sh

This commit is contained in:
Gregory Schier
2026-02-10 06:47:59 -08:00
parent d856e8075b
commit a8318183ad

View File

@@ -25,6 +25,13 @@ fi
VERSION_TAG="$1"
VERSION="${VERSION_TAG#v}"
# Only allow stable releases (skip beta, alpha, rc, etc.)
if [[ "$VERSION" == *-* ]]; then
echo "Skipping pre-release version '$VERSION_TAG' (only stable releases are published to Flathub)"
exit 0
fi
REPO="mountain-loop/yaak"
BASE_URL="https://github.com/$REPO/releases/download/$VERSION_TAG"