diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 633f428..9921833 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.20", + revision: "e50d4b0b1d115d1b1c05c6653fb39953fad9e237" 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.20/bitrise-den-agent-darwin-arm64.zip" + sha256 "339126ec48e414b6b91ee9c893444104b81190749112f5b1f9625711633987d7" 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.20/bitrise-den-agent-darwin-amd64.zip" + sha256 "208defcaf77999f4dd0c93357673c2e089fdc64b79bddcad6f61611cc4a16af4" 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.20/bitrise-den-agent-linux-amd64.zip" + sha256 "ef18694c8237192ccaf5a0e9cfa3bafc27dcbbfbf0043df261797278571a251e" end end diff --git a/Formula/bitrise-den-agent@2.38.20.rb b/Formula/bitrise-den-agent@2.38.20.rb new file mode 100644 index 0000000..03db2c9 --- /dev/null +++ b/Formula/bitrise-den-agent@2.38.20.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT23820 < 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.20", + revision: "e50d4b0b1d115d1b1c05c6653fb39953fad9e237" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.20/bitrise-den-agent-darwin-arm64.zip" + sha256 "339126ec48e414b6b91ee9c893444104b81190749112f5b1f9625711633987d7" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.20/bitrise-den-agent-darwin-amd64.zip" + sha256 "208defcaf77999f4dd0c93357673c2e089fdc64b79bddcad6f61611cc4a16af4" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.20/bitrise-den-agent-linux-amd64.zip" + sha256 "ef18694c8237192ccaf5a0e9cfa3bafc27dcbbfbf0043df261797278571a251e" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end