From 96dc969a2ba1e45ecb6a50768aadd04b600d8c3e Mon Sep 17 00:00:00 2001 From: "J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)" Date: Mon, 3 Jun 2024 11:13:35 +0000 Subject: [PATCH] DEN Agent version update - v2.34.7 --- Formula/bitrise-den-agent.rb | 16 +++++++------- Formula/bitrise-den-agent@2.34.7.rb | 34 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 Formula/bitrise-den-agent@2.34.7.rb diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 6bcaed9..e03bbef 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.34.4", - revision: "b00bc9bd78dc43badac96f9db20ccc0549ed5d68" + tag: "v2.34.7", + revision: "c5f6816bbbf69f79ea0e8197452a7d43f906f279" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.4/bitrise-den-agent-darwin-arm64.zip" - sha256 "1e4a2094ef40fa53220a92031eb71ec1095fda3e7d8be0975c45a5d0aa24cf3b" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.7/bitrise-den-agent-darwin-arm64.zip" + sha256 "46cf25d5c33feb78ad02d11f916b7ee738e31d85a6b7774fc42d66f9a42d59a5" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.4/bitrise-den-agent-darwin-amd64.zip" - sha256 "5ebd91283bc7b9bb14d1b2992e5758413cd6a2fc7d3d48c03fa0791760450697" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.7/bitrise-den-agent-darwin-amd64.zip" + sha256 "e0372ca8c10d7a37c921d167faaf739c830bab1e91cc4d1cb6e75deef8d99c81" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.4/bitrise-den-agent-linux-amd64.zip" - sha256 "7d3b9d673e71fbf851106bd0f6e2141833fa89abe22afedff4c89e1058371d98" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.7/bitrise-den-agent-linux-amd64.zip" + sha256 "59e4e35569613ab1076929f810619ccaf5051541d52e8e0ec8a872e9d3024dcf" end end diff --git a/Formula/bitrise-den-agent@2.34.7.rb b/Formula/bitrise-den-agent@2.34.7.rb new file mode 100644 index 0000000..6208692 --- /dev/null +++ b/Formula/bitrise-den-agent@2.34.7.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2347 < 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.34.7", + revision: "c5f6816bbbf69f79ea0e8197452a7d43f906f279" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.7/bitrise-den-agent-darwin-arm64.zip" + sha256 "46cf25d5c33feb78ad02d11f916b7ee738e31d85a6b7774fc42d66f9a42d59a5" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.7/bitrise-den-agent-darwin-amd64.zip" + sha256 "e0372ca8c10d7a37c921d167faaf739c830bab1e91cc4d1cb6e75deef8d99c81" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.7/bitrise-den-agent-linux-amd64.zip" + sha256 "59e4e35569613ab1076929f810619ccaf5051541d52e8e0ec8a872e9d3024dcf" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end