magefile / mage

a Make/rake-like dev tool using Go
https://magefile.org
Apache License 2.0
4.12k stars 251 forks source link

Bug: 1.15.0 not releasing macos-ARM64 artifact anymore #481

Open deregtd opened 1 year ago

deregtd commented 1 year ago

Bug Description Trying to install mage 1.15.0 via asdf on an M1 mac now fails, because 1.15.0 no longer makes a macos-arm64 release:

* https://github.com/magefile/mage/releases/download/v1.15.0/mage_1.15.0_macOS-arm64.tar.gz
curl: (22) The requested URL returned error: 404
asdf-mage: Could not download https://github.com/magefile/mage/releases/download/v1.15.0/mage_1.15.0_macOS-arm64.tar.gz

What did you do? Place:

mage 1.15.0

into a .tool-versions file, and then try to asdf install, on an M1 macbook pro.

What did you expect to happen?

Mage to be installed

What actually happened?

An error that the release could not be found.

The code in the asdf-mage plugin is here, showing the pattern it tries to use: https://github.com/mathew-fleisch/asdf-mage/blob/main/lib/utils.bash