From 415832a012f8f83b8a95adfeef32760bf4474631 Mon Sep 17 00:00:00 2001 From: "J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)" Date: Fri, 10 Jan 2025 12:24:33 +0000 Subject: [PATCH] DEN Agent version update - v2.45.1 --- Formula/bitrise-den-agent.rb | 16 +++++++------- Formula/bitrise-den-agent@2.45.1.rb | 34 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 Formula/bitrise-den-agent@2.45.1.rb diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 6372b0a..1338e1a 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.45.0", - revision: "aaec8896faa7530bd8f735b8158e36b53333af3b" + tag: "v2.45.1", + revision: "0ed767a8bb51f23c55107f0b1a012a5cf104500c" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.0/bitrise-den-agent-darwin-arm64.zip" - sha256 "49750b437f0523dcc6b78ff390cb9fd68528f74bfb3ffacb8be7ac9a80229b73" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.1/bitrise-den-agent-darwin-arm64.zip" + sha256 "17aeaafd4f3e6b73a70cf889befd27a3755569461cfd06a626010ad0d46c4965" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.0/bitrise-den-agent-darwin-amd64.zip" - sha256 "738706f19125b072d0a32bc3562e2bee28fec7f15f7c3b42b6531eacb1b88a87" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.1/bitrise-den-agent-darwin-amd64.zip" + sha256 "9e35a5424c2c3074d5b58c0141d9084c9415c7cc9952d8665c34d48f0e3dd4ae" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.0/bitrise-den-agent-linux-amd64.zip" - sha256 "eb3cf6ebadf38b8cbe640357f73aa4e3e74251a26ed5b4be30145312c5bb3ac1" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.1/bitrise-den-agent-linux-amd64.zip" + sha256 "c1691e0b8c4a3a6c858037e06d199a38ed9f04047f7c8a2629c9e2c12a3a8788" end end diff --git a/Formula/bitrise-den-agent@2.45.1.rb b/Formula/bitrise-den-agent@2.45.1.rb new file mode 100644 index 0000000..5022bc7 --- /dev/null +++ b/Formula/bitrise-den-agent@2.45.1.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2451 < 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.45.1", + revision: "0ed767a8bb51f23c55107f0b1a012a5cf104500c" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.1/bitrise-den-agent-darwin-arm64.zip" + sha256 "17aeaafd4f3e6b73a70cf889befd27a3755569461cfd06a626010ad0d46c4965" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.1/bitrise-den-agent-darwin-amd64.zip" + sha256 "9e35a5424c2c3074d5b58c0141d9084c9415c7cc9952d8665c34d48f0e3dd4ae" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.45.1/bitrise-den-agent-linux-amd64.zip" + sha256 "c1691e0b8c4a3a6c858037e06d199a38ed9f04047f7c8a2629c9e2c12a3a8788" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end