From c6e68c87cd69abeb967966a05f787c63b68f7889 Mon Sep 17 00:00:00 2001 From: Clementine Urquizar Date: Mon, 15 Jun 2020 14:27:34 +0200 Subject: [PATCH] Fix syntax error in is-latest-release.sh script --- .github/is-latest-release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/is-latest-release.sh b/.github/is-latest-release.sh index cf8f0071c..b30c6138b 100644 --- a/.github/is-latest-release.sh +++ b/.github/is-latest-release.sh @@ -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