mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
update download-latest.sh
This commit is contained in:
parent
8ff6b1b540
commit
cf6cb938a6
@ -80,7 +80,7 @@ get_latest() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
releases=$(cat "$temp_file" | \
|
releases=$(cat "$temp_file" | \
|
||||||
grep -E '"tag_name":|"draft":|"prerelease":'" \
|
grep -E '"tag_name":|"draft":|"prerelease":' \
|
||||||
| tr -d ',"' | cut -d ':' -f2 | tr -d ' ')
|
| tr -d ',"' | cut -d ':' -f2 | tr -d ' ')
|
||||||
# Returns a list of [tag_name draft_boolean prerelease_boolean ...]
|
# Returns a list of [tag_name draft_boolean prerelease_boolean ...]
|
||||||
# Ex: v0.10.1 false false v0.9.1-rc.1 false true v0.9.0 false false...
|
# Ex: v0.10.1 false false v0.9.1-rc.1 false true v0.9.0 false false...
|
||||||
|
Loading…
Reference in New Issue
Block a user