Skip to content
Merged
Show file tree
Hide file tree
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
16 changes: 8 additions & 8 deletions Formula/stack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ class Stack < Formula
depends_on arch: :arm64

on_arm do
url "https://github.com/stack-sh/cli/releases/download/v0.4.0/stack-v0.4.0-aarch64-apple-darwin.tar.gz"
sha256 "dd43cf3d966a3dc28de3ac8752b6a98f19e4cb7cf6b04652ab73a013800cb015"
url "https://github.com/stack-sh/cli/releases/download/v0.5.0/stack-v0.5.0-aarch64-apple-darwin.tar.gz"
sha256 "cfa5e6459481dec73c0aca5b32d52293c977a4f5d72273f8ea9ce71c4f689ea2"
end

# Let Homebrew load the formula before reporting the ARM64 requirement.
on_intel do
url "https://github.com/stack-sh/cli/releases/download/v0.4.0/stack-v0.4.0-x86_64-apple-darwin.tar.gz"
sha256 "48a72328fcf6d160a123a766d9701108f8ee9f633001581dab533b93dddf0827"
url "https://github.com/stack-sh/cli/releases/download/v0.5.0/stack-v0.5.0-x86_64-apple-darwin.tar.gz"
sha256 "d38e017c93a41855319fd583c4f0d6e62dc688b10ebeedbe925d07ba6dbb7e2b"
end
end

on_linux do
on_arm do
url "https://github.com/stack-sh/cli/releases/download/v0.4.0/stack-v0.4.0-aarch64-unknown-linux-gnu.tar.gz"
sha256 "a0d76bfa9ed9e767fcd06dbeb7140234db865440210c7c3abf6c3db4f6983a6e"
url "https://github.com/stack-sh/cli/releases/download/v0.5.0/stack-v0.5.0-aarch64-unknown-linux-gnu.tar.gz"
sha256 "506a03d1b430497539bfc2c57ff4a97962a983d1343c983700bc85719e5740cb"
end

on_intel do
url "https://github.com/stack-sh/cli/releases/download/v0.4.0/stack-v0.4.0-x86_64-unknown-linux-gnu.tar.gz"
sha256 "89d8a34c0da5f67932edff2641fe0a0527afbd120cfd5133cb38cdeffca55319"
url "https://github.com/stack-sh/cli/releases/download/v0.5.0/stack-v0.5.0-x86_64-unknown-linux-gnu.tar.gz"
sha256 "b159e58c899f77798196616dd1a33fc6a04026cdc582861ee8ac257211abdb9d"
end
end

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The formula installs the exact archives published by the Stack CLI GitHub Releas
| x86_64 Linux with SSSE3 on a current Homebrew Tier 1 host | Supported | `x86_64-unknown-linux-gnu` |
| Intel macOS | Unsupported by this formula | — |

Stack CLI 0.4.0 archives include shell integration generated by the same binary. The formula installs bash completion to Homebrew's `bash_completion` path, zsh completion to `zsh_completion`, fish completion to `fish_completion`, and `stack.1` to `man1`. It does not edit shell startup files; follow Homebrew's normal completion setup for your shell.
Stack CLI 0.5.0 archives include shell integration generated by the same binary. The formula installs bash completion to Homebrew's `bash_completion` path, zsh completion to `zsh_completion`, fish completion to `fish_completion`, and `stack.1` to `man1`. It does not edit shell startup files; follow Homebrew's normal completion setup for your shell.

## Upgrade and uninstall

Expand Down
12 changes: 6 additions & 6 deletions metadata/stack-release.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"schemaVersion": 1,
"repository": "stack-sh/cli",
"version": "0.4.0",
"sourceCommit": "7f4066884f7902d4c582d45184f3a9019fe59bf7",
"version": "0.5.0",
"sourceCommit": "6bad86702096bc9d9f10641675eed57203ae4467",
"targets": {
"aarch64-apple-darwin": "dd43cf3d966a3dc28de3ac8752b6a98f19e4cb7cf6b04652ab73a013800cb015",
"aarch64-unknown-linux-gnu": "a0d76bfa9ed9e767fcd06dbeb7140234db865440210c7c3abf6c3db4f6983a6e",
"x86_64-apple-darwin": "48a72328fcf6d160a123a766d9701108f8ee9f633001581dab533b93dddf0827",
"x86_64-unknown-linux-gnu": "89d8a34c0da5f67932edff2641fe0a0527afbd120cfd5133cb38cdeffca55319"
"aarch64-apple-darwin": "cfa5e6459481dec73c0aca5b32d52293c977a4f5d72273f8ea9ce71c4f689ea2",
"aarch64-unknown-linux-gnu": "506a03d1b430497539bfc2c57ff4a97962a983d1343c983700bc85719e5740cb",
"x86_64-apple-darwin": "d38e017c93a41855319fd583c4f0d6e62dc688b10ebeedbe925d07ba6dbb7e2b",
"x86_64-unknown-linux-gnu": "b159e58c899f77798196616dd1a33fc6a04026cdc582861ee8ac257211abdb9d"
}
}
Loading