Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ release_candidates() {
echo "${APP}-${triple}|binary"
echo "${APP}-${triple}.tar.gz|archive"
echo "${APP}-${os}-${arch}.tar.gz|archive"

# v0.5.0 published only x86_64 macOS assets. On Apple Silicon, try Rosetta-
# compatible fallback names so `curl ... | bash` still works.
if [[ "$os" == "darwin" && "$arch" == "arm64" ]]; then
echo "${APP}-x86_64-apple-darwin|binary"
echo "${APP}-x86_64-apple-darwin.tar.gz|archive"
echo "${APP}-darwin-x64.tar.gz|archive"
fi
}

latest_version_from_github() {
Expand Down
Loading