Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to zips instead of tarballs #22

Merged
merged 1 commit into from
Apr 8, 2024
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
8 changes: 4 additions & 4 deletions Formula/smithy-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ class SmithyCli < Formula

if OS.mac?
if Hardware::CPU.intel?
url "#{$config_provider.root_url}-darwin-x86_64.tar.gz"
url "#{$config_provider.root_url}-darwin-x86_64.zip"
sha256 $config_provider.sierra_hash
elsif Hardware::CPU.arm?
url "#{$config_provider.root_url}-darwin-aarch64.tar.gz"
url "#{$config_provider.root_url}-darwin-aarch64.zip"
sha256 $config_provider.arm64_big_sur_hash
end
elsif OS.linux?
if Hardware::CPU.intel?
url "#{$config_provider.root_url}-linux-x86_64.tar.gz"
url "#{$config_provider.root_url}-linux-x86_64.zip"
sha256 $config_provider.linux_hash
elsif Hardware::CPU.arm?
url "#{$config_provider.root_url}-linux-aarch64.tar.gz"
url "#{$config_provider.root_url}-linux-aarch64.zip"
sha256 $config_provider.linux_arm_hash
end
end
Expand Down
8 changes: 4 additions & 4 deletions bottle-configs/smithy-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"bottle": {
"root_url": "https://github.com/smithy-lang/smithy/releases/download/1.47.0/smithy-cli",
"sha256": {
"arm64_big_sur": "6249ba112b20fad442859fef343b5ca6ff3e042704093ab6f1b7d1682825137f",
"sierra": "095a02caf1d159c4b4abdc9406b1c947cca23700e7547737adaadb1c6a471c7d",
"linux": "7d07cc569c12c05b5f0c540eec44fb02116a5652d2720ca28558fd3d4c0ebfcf",
"linux_arm": "3154b5d73ff3b5360a2fbded4c522ee09184a5f7bae2ff3c04bbfde4149948f9"
"arm64_big_sur": "add7893a9d760ce634f1a256fda9eeff886e6416797aa0f5eddecc6aefd15ed6",
"sierra": "6e0eeac8f8a2d7a6379ab297b9b74c8c9bd806b32d79aba6826355055c468919",
"linux": "3cc7f2df9d8e0f3ea1bc8685c25fb75e4306f32188c653defb0ba6c3e974a91a",
"linux_arm": "f652d38609853154d663b6c74601b4d2cee853eaa80c4076415983e5a76c3a2b"
}
}
}