From bb97e9ab3948b63cbca0bb27d03722714735d9b9 Mon Sep 17 00:00:00 2001 From: "J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)" Date: Wed, 18 Sep 2024 11:53:06 +0000 Subject: [PATCH] DEN Agent version update - v2.38.20 --- Formula/bitrise-den-agent.rb | 16 ++++++------- Formula/bitrise-den-agent@2.38.20.rb | 34 ++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 Formula/bitrise-den-agent@2.38.20.rb 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