mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 05:14:27 +01:00
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:
commit
35605c9f57
6
.github/is-latest-release.sh
vendored
6
.github/is-latest-release.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user