diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index b0a806d..633f428 100644 --- a/Formula/bitrise-den-agent.rb +++ b/Formula/bitrise-den-agent.rb @@ -2,25 +2,25 @@ class BitriseDenAgent < Formula desc "CLI for Bitrise DEN agent" homepage "https://github.com/bitrise-io/bitrise-den-agent" url "https://github.com/bitrise-io/bitrise-den-agent.git", - tag: "v2.37.6", - revision: "beb84ff2e7dcab4351bca54d057486b7e14b686d" + tag: "v2.37.8", + revision: "88e600e18f018cd64eb089964c52a5a1b989a875" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.6/bitrise-den-agent-darwin-arm64.zip" - sha256 "68a7192e6bbcfaee540f052f49a279f11ad339a6b30eab92f0adc61e75b89b0d" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.8/bitrise-den-agent-darwin-arm64.zip" + sha256 "3c2642c03c12b3dbe29e859c03e5dc8a97c39078e65251426b2aa3db35b099c7" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.6/bitrise-den-agent-darwin-amd64.zip" - sha256 "13f9896df67d0397ae1e0ba1818d1a31d33010ef39a48e8ca20b6ae16fad3ca3" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.8/bitrise-den-agent-darwin-amd64.zip" + sha256 "08ac72ce69d9987ccd4bd14f06e82e802d623c084bbba80ee5e40ded33d83010" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.6/bitrise-den-agent-linux-amd64.zip" - sha256 "da26386213d53e127e7a6e5d33ea7bba720fcf4217ecd9e3f7fd8c2fb6d33feb" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.8/bitrise-den-agent-linux-amd64.zip" + sha256 "29e04c744e1086c9b72f46c018db9a6712ade53f11cae3901e5f78778e6201f6" end end diff --git a/Formula/bitrise-den-agent@2.37.8.rb b/Formula/bitrise-den-agent@2.37.8.rb new file mode 100644 index 0000000..2669f49 --- /dev/null +++ b/Formula/bitrise-den-agent@2.37.8.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2378 < Formula + desc "CLI for Bitrise DEN agent" + homepage "https://github.com/bitrise-io/bitrise-den-agent" + url "https://github.com/bitrise-io/bitrise-den-agent.git", + tag: "v2.37.8", + revision: "88e600e18f018cd64eb089964c52a5a1b989a875" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.8/bitrise-den-agent-darwin-arm64.zip" + sha256 "3c2642c03c12b3dbe29e859c03e5dc8a97c39078e65251426b2aa3db35b099c7" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.8/bitrise-den-agent-darwin-amd64.zip" + sha256 "08ac72ce69d9987ccd4bd14f06e82e802d623c084bbba80ee5e40ded33d83010" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.37.8/bitrise-den-agent-linux-amd64.zip" + sha256 "29e04c744e1086c9b72f46c018db9a6712ade53f11cae3901e5f78778e6201f6" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end