1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00

Merge pull request #47 from YunoHost-Apps/testing

fix update script
This commit is contained in:
Kayou 2022-02-09 14:06:51 +01:00 committed by GitHub
commit a86f2564be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"