mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08: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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user