Skip to content

Commit

Permalink
Merge pull request #10 from alexgeorgousis/9-support-macos-versions-p…
Browse files Browse the repository at this point in the history
…re-0.102.0

Support macOS asset naming scheme for versions prior to v0.102.0
  • Loading branch information
nklmilojevic committed Mar 17, 2023
2 parents bcf552b + bbc93de commit bc457b1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/utils.bash
Expand Up @@ -70,6 +70,7 @@ download_release() {
version="$1"
version_path="${version//extended_/}"
filename="$2"
arch="$(get_arch)"
platform="$(get_platform)"
case "${platform}" in
macOS)
Expand All @@ -78,10 +79,10 @@ download_release() {
if [ $version_minor -ge 103 ]; then
platform="darwin"
fi
arch="universal"
;;
*)
arch="$(get_arch)"

if [ $version_minor -ge 102 ]; then
arch="universal"
fi
;;
esac

Expand Down

0 comments on commit bc457b1

Please sign in to comment.