diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index f063b8c..067f1c9 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.32.0", - revision: "448c10f81f7bd3c8ab20ddb2c7b4f4efa1921d43" + tag: "v2.33.4", + revision: "012060856b2acc2cb311ef006e5683342b091cb3" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.32.0/bitrise-den-agent-darwin-arm64.zip" - sha256 "7b5a127c388e2dcf32c8d6789283abe25983dc238f16156bb900c435bd88065f" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.4/bitrise-den-agent-darwin-arm64.zip" + sha256 "3825e7863d8a1436dd8c6fef43672395a12b5e7a4077fae9d636e55bc45c361f" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.32.0/bitrise-den-agent-darwin-amd64.zip" - sha256 "7eff0e27af6565230286d48d4ae2a2586e70a3f8d20bda89df0721fbca4bb889" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.4/bitrise-den-agent-darwin-amd64.zip" + sha256 "3c0c19be7a1110865a1644260ba7178cd60f94f0bcc6de5f2253098c6c147496" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.32.0/bitrise-den-agent-linux-amd64.zip" - sha256 "f2580f78f70539e434922418cb2262094c03d181cbedd329a01e80462c721f7f" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.4/bitrise-den-agent-linux-amd64.zip" + sha256 "4be6483dff67374731c76e9e13255ac70a8ee001efd171605b34dbce7e4005bf" end end diff --git a/Formula/bitrise-den-agent@2.33.4.rb b/Formula/bitrise-den-agent@2.33.4.rb new file mode 100644 index 0000000..ab9ca8e --- /dev/null +++ b/Formula/bitrise-den-agent@2.33.4.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2334 < 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.33.4", + revision: "012060856b2acc2cb311ef006e5683342b091cb3" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.4/bitrise-den-agent-darwin-arm64.zip" + sha256 "3825e7863d8a1436dd8c6fef43672395a12b5e7a4077fae9d636e55bc45c361f" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.4/bitrise-den-agent-darwin-amd64.zip" + sha256 "3c0c19be7a1110865a1644260ba7178cd60f94f0bcc6de5f2253098c6c147496" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.4/bitrise-den-agent-linux-amd64.zip" + sha256 "4be6483dff67374731c76e9e13255ac70a8ee001efd171605b34dbce7e4005bf" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end