Skip to content

Commit

Permalink
Merge branch 'master' into fix/m1-no-url-err
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart authored Oct 26, 2021
2 parents e9303af + e5fb503 commit dbf4252
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
18 changes: 9 additions & 9 deletions Formula/nats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
class Nats < Formula
desc "NATS utility"
homepage "https://github.com/nats-io/nats"
version "0.0.23"
version "0.0.26"
bottle :unneeded

if OS.mac?
url "https://github.com/nats-io/natscli/releases/download/0.0.23/nats-0.0.23-darwin-amd64.zip"
sha256 "ca7198ff94683c65d8925c02486468ab13a4738a56be3bc50dd1277639bab1f2"
url "https://github.com/nats-io/natscli/releases/download/0.0.26/nats-0.0.26-darwin-amd64.zip"
sha256 "c2ed469bbd5ab7a1623fc7d8fb62496c17e8f33d57ab9711eadd72e2c808a26f"
end
if OS.linux? && Hardware::CPU.intel?
url "https://github.com/nats-io/natscli/releases/download/0.0.23/nats-0.0.23-linux-amd64.zip"
sha256 "6ff61822358a1ed57d527d22e5cc9a103aca30bdb0f27831bb9db4e4b15d67c0"
url "https://github.com/nats-io/natscli/releases/download/0.0.26/nats-0.0.26-linux-amd64.zip"
sha256 "d6a1f0aed5710eee69740fc1da24576a716076e7e3eca83a4772d1ea637a8fde"
end
if OS.linux? && Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/nats-io/natscli/releases/download/0.0.23/nats-0.0.23-linux-arm6.zip"
sha256 "0a5ad102ae568b0399e5cf5eeea0f1258b403bce67f9975bd0e501ff8a41ac67"
url "https://github.com/nats-io/natscli/releases/download/0.0.26/nats-0.0.26-linux-arm6.zip"
sha256 "63c2d63eb4a5551473fc95ae73a9e9b9822f932f966e0dfd5ec14db8b1067e08"
end
if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/nats-io/natscli/releases/download/0.0.23/nats-0.0.23-linux-arm64.zip"
sha256 "aeb34b30e762aab3d97565528b5e8d9a452910e035a5f8bacbc21a3d70605d91"
url "https://github.com/nats-io/natscli/releases/download/0.0.26/nats-0.0.26-linux-arm64.zip"
sha256 "c7574e6f5db365b0430a1bde90badbd1d28a747d91d5f6986b73e531d87995d1"
end

def install
Expand Down
21 changes: 14 additions & 7 deletions Formula/nsc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@
class Nsc < Formula
desc "A tool for creating NATS account and user access configurations"
homepage "https://github.com/nats-io/nsc"
version "2.2.3"
version "2.2.6"
bottle :unneeded

if OS.mac?
url "https://github.com/nats-io/nsc/releases/download/2.2.3/nsc-darwin-amd64.zip"
sha256 "d642f75db7d1d3d72d5a7ee5a9f0142c7dce6ac20ce7994af55c2d141b3dd0bc"
if OS.mac? && Hardware::CPU.intel?
url "https://github.com/nats-io/nsc/releases/download/2.2.6/nsc-darwin-amd64.zip"
sha256 "c1bd3518b6aec8b0fedbc341535e2d9b9bbc54ffb864512df562665f59133aa3"
end
if OS.mac? && Hardware::CPU.arm?
url "https://github.com/nats-io/nsc/releases/download/2.2.6/nsc-darwin-arm64.zip"
sha256 "b02f36554575c3e92127a73a5610cd4dd4f19bb255e9f09e2d2d334a3b3cc9b1"
end
if OS.linux? && Hardware::CPU.intel?
url "https://github.com/nats-io/nsc/releases/download/2.2.3/nsc-linux-amd64.zip"
sha256 "7acfbb4572e2c3e91f76bad04d28edc951a1d3892d2497862434c0d9b1f00c14"
url "https://github.com/nats-io/nsc/releases/download/2.2.6/nsc-linux-amd64.zip"
sha256 "6bee8479b31ab480416d2e40b519b762f4193164e64a3fd17da7917720c12103"
end
if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/nats-io/nsc/releases/download/2.2.6/nsc-linux-arm64.zip"
sha256 "adda40fedfaba98af81823c0ec467fc81e9f0309341bd1477c42d756dcce2643"
end

def install
Expand Down

0 comments on commit dbf4252

Please sign in to comment.