feat: Make exec binary for M1 mac available for download

This commit is contained in:
k-nasa 2021-09-11 23:11:33 +09:00
parent 33514b28be
commit 5b995ba080

View File

@ -140,7 +140,7 @@ get_os() {
get_archi() { get_archi() {
architecture=$(uname -m) architecture=$(uname -m)
case "$architecture" in case "$architecture" in
'x86_64' | 'amd64') 'x86_64' | 'amd64' | 'arm64')
archi='amd64' archi='amd64'
;; ;;
'aarch64') 'aarch64')
@ -188,7 +188,7 @@ case "$os" in
BINARY_NAME='meilisearch.exe' BINARY_NAME='meilisearch.exe'
;; ;;
*) *)
release_file="meilisearch-$os-$archi" release_file="meilisearch-$os-$archi"
BINARY_NAME='meilisearch' BINARY_NAME='meilisearch'