mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
fix update script
This commit is contained in:
parent
595482f49c
commit
d10453c480
1 changed files with 5 additions and 0 deletions
5
.github/workflows/updater.sh
vendored
5
.github/workflows/updater.sh
vendored
|
@ -27,6 +27,11 @@ if [[ ${version:0:1} == "v" || ${version:0:1} == "V" ]]; then
|
||||||
version=${version:1}
|
version=${version:1}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ $version == *"-alpha" || $version == *"-beta" ]]; then
|
||||||
|
echo "::warning ::This is not a release version"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
# Setting up the environment variables
|
# Setting up the environment variables
|
||||||
echo "Current version: $current_version"
|
echo "Current version: $current_version"
|
||||||
echo "Latest release from upstream: $version"
|
echo "Latest release from upstream: $version"
|
||||||
|
|
Loading…
Reference in a new issue