diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 633f428..fe642e6 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.8", - revision: "88e600e18f018cd64eb089964c52a5a1b989a875" + tag: "v2.38.17", + revision: "8c71463793688bc6f172236b9eb500f2c2ce4a06" 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" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.17/bitrise-den-agent-darwin-arm64.zip" + sha256 "24830592592a8cf171d817910a90d8fb527a67d62aaa2cabcb4d3a38ee448589" 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" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.17/bitrise-den-agent-darwin-amd64.zip" + sha256 "e44a055fa038033eb5e0d5fc64f18d90d58123a978382076ce836e431dd464a7" 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" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.17/bitrise-den-agent-linux-amd64.zip" + sha256 "44199dc1f5de55114409849c9db48e57f2ac86e44d730dc86704913712c503ec" end end diff --git a/Formula/bitrise-den-agent@2.38.17.rb b/Formula/bitrise-den-agent@2.38.17.rb new file mode 100644 index 0000000..168d9e6 --- /dev/null +++ b/Formula/bitrise-den-agent@2.38.17.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT23817 < 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.38.17", + revision: "8c71463793688bc6f172236b9eb500f2c2ce4a06" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.17/bitrise-den-agent-darwin-arm64.zip" + sha256 "24830592592a8cf171d817910a90d8fb527a67d62aaa2cabcb4d3a38ee448589" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.17/bitrise-den-agent-darwin-amd64.zip" + sha256 "e44a055fa038033eb5e0d5fc64f18d90d58123a978382076ce836e431dd464a7" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.17/bitrise-den-agent-linux-amd64.zip" + sha256 "44199dc1f5de55114409849c9db48e57f2ac86e44d730dc86704913712c503ec" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end