mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 09:08:32 +02:00
Reject pre-release versions in update-manifest.sh
This commit is contained in:
@@ -25,6 +25,13 @@ fi
|
|||||||
|
|
||||||
VERSION_TAG="$1"
|
VERSION_TAG="$1"
|
||||||
VERSION="${VERSION_TAG#v}"
|
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"
|
REPO="mountain-loop/yaak"
|
||||||
BASE_URL="https://github.com/$REPO/releases/download/$VERSION_TAG"
|
BASE_URL="https://github.com/$REPO/releases/download/$VERSION_TAG"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user