mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Add --fail-with-body flag to curl in script
This commit is contained in:
parent
2a90e805a2
commit
ccaca33446
@ -229,7 +229,7 @@ esac
|
|||||||
|
|
||||||
# Fetch the Meilisearch binary
|
# Fetch the Meilisearch binary
|
||||||
link="https://github.com/meilisearch/meilisearch/releases/download/$latest/$release_file"
|
link="https://github.com/meilisearch/meilisearch/releases/download/$latest/$release_file"
|
||||||
curl -OL "$link"
|
curl --fail-with-body -OL "$link"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
fetch_release_failure_usage
|
fetch_release_failure_usage
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user