diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 633f428..68e9652 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.19", + revision: "03414ac7ac4f712c81d725226706618c41cd3891" 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.19/bitrise-den-agent-darwin-arm64.zip" + sha256 "0cddb38b93ee443591ada68d85ca124329241467731a48d619f35344e4cc4249" 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.19/bitrise-den-agent-darwin-amd64.zip" + sha256 "d7536103f0a15f3152e3a8dd3c603e436a2add7592af6ebd14acd1486391374a" 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.19/bitrise-den-agent-linux-amd64.zip" + sha256 "b6253ade82a79c82265494e7435c5c6886b65a10ecd7334d96d0e31a71bdc023" end end diff --git a/Formula/bitrise-den-agent@2.38.19.rb b/Formula/bitrise-den-agent@2.38.19.rb new file mode 100644 index 0000000..a72c2d6 --- /dev/null +++ b/Formula/bitrise-den-agent@2.38.19.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT23819 < 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.19", + revision: "03414ac7ac4f712c81d725226706618c41cd3891" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.19/bitrise-den-agent-darwin-arm64.zip" + sha256 "0cddb38b93ee443591ada68d85ca124329241467731a48d619f35344e4cc4249" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.19/bitrise-den-agent-darwin-amd64.zip" + sha256 "d7536103f0a15f3152e3a8dd3c603e436a2add7592af6ebd14acd1486391374a" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.19/bitrise-den-agent-linux-amd64.zip" + sha256 "b6253ade82a79c82265494e7435c5c6886b65a10ecd7334d96d0e31a71bdc023" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end