Merge pull request #777 from curquiza/hotfix-is-latest-script

Hotfix: Fix syntax error in is-latest-release.sh script
This commit is contained in:
Clément Renault 2020-06-15 14:57:44 +02:00 committed by GitHub
commit 35605c9f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

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