From c2919e09c29600bf350ab465a3cf0be69dbe974b Mon Sep 17 00:00:00 2001 From: "J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)" Date: Wed, 25 Sep 2024 09:17:45 +0000 Subject: [PATCH] DEN Agent version update - v2.38.23 --- Formula/bitrise-den-agent.rb | 16 ++++++------- Formula/bitrise-den-agent@2.38.23.rb | 34 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 Formula/bitrise-den-agent@2.38.23.rb diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 9921833..6e035fc 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.38.20", - revision: "e50d4b0b1d115d1b1c05c6653fb39953fad9e237" + tag: "v2.38.23", + revision: "9855d564fd0bf54e8cacb64f6e830752f80accdd" 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" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.23/bitrise-den-agent-darwin-arm64.zip" + sha256 "3d44ecfa5f1a190885e9d06cd0ac747aa37a63fb53974d0a6fc5accb69262bba" 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" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.23/bitrise-den-agent-darwin-amd64.zip" + sha256 "3698451bf0043340b666e50add59a21799980ddf692ae53fb23ee5a1f00c0e72" 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" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.23/bitrise-den-agent-linux-amd64.zip" + sha256 "9a80a2a17dc75dca7e79148e5f32e40568bbed5d0d5dbe86ad3cc6a0c56476b2" end end diff --git a/Formula/bitrise-den-agent@2.38.23.rb b/Formula/bitrise-den-agent@2.38.23.rb new file mode 100644 index 0000000..1e7e0b3 --- /dev/null +++ b/Formula/bitrise-den-agent@2.38.23.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT23823 < 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.23", + revision: "9855d564fd0bf54e8cacb64f6e830752f80accdd" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.23/bitrise-den-agent-darwin-arm64.zip" + sha256 "3d44ecfa5f1a190885e9d06cd0ac747aa37a63fb53974d0a6fc5accb69262bba" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.23/bitrise-den-agent-darwin-amd64.zip" + sha256 "3698451bf0043340b666e50add59a21799980ddf692ae53fb23ee5a1f00c0e72" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.23/bitrise-den-agent-linux-amd64.zip" + sha256 "9a80a2a17dc75dca7e79148e5f32e40568bbed5d0d5dbe86ad3cc6a0c56476b2" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end