Fix syntax error in is-latest-release.sh script

This commit is contained in:
Clementine Urquizar 2020-06-15 14:27:34 +02:00
parent 7685165089
commit c6e68c87cd

View File

@ -93,12 +93,12 @@ get_latest() {
fi fi
i=1 i=1
elif [ $i -eq 1 ]; then # Checking draft boolean elif [ $i -eq 1 ]; then # Checking draft boolean
if [ "$release_info" == "true" ]; then if [ "$release_info" = "true" ]; then
current_tag="" current_tag=""
fi fi
i=2 i=2
elif [ $i -eq 2 ]; then # Checking prerelease boolean elif [ $i -eq 2 ]; then # Checking prerelease boolean
if [ "$release_info" == "true" ]; then if [ "$release_info" = "true" ]; then
current_tag="" current_tag=""
fi fi
i=0 i=0
@ -129,4 +129,4 @@ if [ "$current_tag" != "$latest" ]; then
else else
# The current release tag is the latest # The current release tag is the latest
echo "true" echo "true"
then fi