From d10453c4801ae8999f44beaaae9596ce8767b14a Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 9 Feb 2022 14:05:27 +0100 Subject: [PATCH] fix update script --- .github/workflows/updater.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index c8f2f3c..5fca95d 100644 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -27,6 +27,11 @@ if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then version=${version:1} fi +if [[ $version == *"-alpha" || $version == *"-beta" ]]; then + echo "::warning ::This is not a release version" + exit 0 +fi + # Setting up the environment variables echo "Current version: $current_version" echo "Latest release from upstream: $version"