diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 24cf002..25ac8bb 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.42.0", - revision: "fc87072f7fbc61374db773b2120c5ed3b4388f7c" + tag: "v2.44.0", + revision: "4cc342e4babbc2987bc3709b500b37df5c934c7e" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.42.0/bitrise-den-agent-darwin-arm64.zip" - sha256 "5741ab149cd396b60286e1277f4e3d4d808cfc656306602043ecf0e351b77dc8" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.44.0/bitrise-den-agent-darwin-arm64.zip" + sha256 "a5565b5b1a471e53065b31bdb0c97a52d31e2dc0a9bd9755da3f282173c0b419" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.42.0/bitrise-den-agent-darwin-amd64.zip" - sha256 "f9820512ce43d187aec5c2b99b2e1cd3e612a67b8ba7853250e41176b6a7ffae" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.44.0/bitrise-den-agent-darwin-amd64.zip" + sha256 "2cbadee3a9ec89d1fb95916ed769fb8014236ad2001dabb7adc6d5b553920e96" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.42.0/bitrise-den-agent-linux-amd64.zip" - sha256 "80b4ec1900486f637f67b09276427325bb650bdcd96788563845cb5819e3d5ef" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.44.0/bitrise-den-agent-linux-amd64.zip" + sha256 "bd8f8af35f6c9dabd223be600d9dc6d8e3e4ee7ce912b724daa62d3894107a7d" end end diff --git a/Formula/bitrise-den-agent@2.44.0.rb b/Formula/bitrise-den-agent@2.44.0.rb new file mode 100644 index 0000000..eb14585 --- /dev/null +++ b/Formula/bitrise-den-agent@2.44.0.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2440 < 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.44.0", + revision: "4cc342e4babbc2987bc3709b500b37df5c934c7e" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.44.0/bitrise-den-agent-darwin-arm64.zip" + sha256 "a5565b5b1a471e53065b31bdb0c97a52d31e2dc0a9bd9755da3f282173c0b419" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.44.0/bitrise-den-agent-darwin-amd64.zip" + sha256 "2cbadee3a9ec89d1fb95916ed769fb8014236ad2001dabb7adc6d5b553920e96" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.44.0/bitrise-den-agent-linux-amd64.zip" + sha256 "bd8f8af35f6c9dabd223be600d9dc6d8e3e4ee7ce912b724daa62d3894107a7d" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end