Merge pull request #685 from curquiza/hotfix-download-script

HOTFIX: the link in download-latest.sh
This commit is contained in:
Clément Renault 2020-05-15 22:37:49 +02:00 committed by GitHub
commit 1fef613024

View File

@ -158,7 +158,7 @@ latest="$(get_latest)"
echo "Downloading MeiliSearch binary $latest for $os..." echo "Downloading MeiliSearch binary $latest for $os..."
release_file="meilisearch-$os-amd64" release_file="meilisearch-$os-amd64"
link="https://github.com/meilisearch/MeiliSearch/releases/download/v$latest/$release_file" link="https://github.com/meilisearch/MeiliSearch/releases/download/$latest/$release_file"
curl -OL "$link" curl -OL "$link"
mv "$release_file" "$BINARY_NAME" mv "$release_file" "$BINARY_NAME"
chmod 744 "$BINARY_NAME" chmod 744 "$BINARY_NAME"