diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index c10836b..3f4de1b 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.30.4", - revision: "930b3b1506bef51d7830376c4c81005e09968ffd" + tag: "v2.31.5", + revision: "492cb372e4987484167d75eaedcaa43d278707e6" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.30.4/bitrise-den-agent-darwin-arm64.zip" - sha256 "ffd3203f333e1b7090c574f265ac8b6f1df8539e384c08df38fb829a55457b2f" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-darwin-arm64.zip" + sha256 "e0d408367e292097f09129bf855db14e80c7947e330f1835b4cba8e695d77728" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.30.4/bitrise-den-agent-darwin-amd64.zip" - sha256 "8de72ac0de8af0337e0bc067a1d1bf527f10ff7ec407055c5cc11b215257af2a" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-darwin-amd64.zip" + sha256 "8b24fea0017bd3677a1b52ec149e887298f68913b849cdf3b57cf45c501420a9" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.30.4/bitrise-den-agent-linux-amd64.zip" - sha256 "10338752609fb679818578693883aaadd129dfbf7c90bfd480617089ab120c3d" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-linux-amd64.zip" + sha256 "8e7a34ec730c962f799bc1906eb82933e1a0b4c74c1f83f1f1182eaf872494c1" end end diff --git a/Formula/bitrise-den-agent@2.31.5.rb b/Formula/bitrise-den-agent@2.31.5.rb new file mode 100644 index 0000000..6429276 --- /dev/null +++ b/Formula/bitrise-den-agent@2.31.5.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2315 < 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.31.5", + revision: "492cb372e4987484167d75eaedcaa43d278707e6" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-darwin-arm64.zip" + sha256 "e0d408367e292097f09129bf855db14e80c7947e330f1835b4cba8e695d77728" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-darwin-amd64.zip" + sha256 "8b24fea0017bd3677a1b52ec149e887298f68913b849cdf3b57cf45c501420a9" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-linux-amd64.zip" + sha256 "8e7a34ec730c962f799bc1906eb82933e1a0b4c74c1f83f1f1182eaf872494c1" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end