From ffe6a2c8eee31238e25e8d9be871de99765a3391 Mon Sep 17 00:00:00 2001 From: "J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)" Date: Tue, 11 Jun 2024 11:52:07 +0000 Subject: [PATCH] DEN Agent version update - v2.36.1 --- Formula/bitrise-den-agent.rb | 16 +++++++------- Formula/bitrise-den-agent@2.36.1.rb | 34 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 Formula/bitrise-den-agent@2.36.1.rb diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 1e8e541..a8a7613 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.8", - revision: "c895098b8d441d4a4e6e183b960e7ee6c23fd1dd" + tag: "v2.36.1", + revision: "459a75b14152a0b42f36a15cf12ae30e78af7807" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.8/bitrise-den-agent-darwin-arm64.zip" - sha256 "ab70a5c7bedd9181c47f09c28a5dbe9620782711a9f08e41f188e7ac4d03121c" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.36.1/bitrise-den-agent-darwin-arm64.zip" + sha256 "6915a6ff6ea2c217c25a0c231ed11e780a6a9aeacf3a7322d38c311f84b2067c" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.8/bitrise-den-agent-darwin-amd64.zip" - sha256 "7d315b476f5d7d8df0fe71f96c25f32ca5b67d95aaf22edb735e7b6a48d80c7e" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.36.1/bitrise-den-agent-darwin-amd64.zip" + sha256 "1b79899c1b375eeed97e52103114926c8ef30b6de31e91230c2b91a980bbd762" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.34.8/bitrise-den-agent-linux-amd64.zip" - sha256 "95067235dfaca19794fde13ab5bd00296aed6f995135e6abf14df10b728c4f36" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.36.1/bitrise-den-agent-linux-amd64.zip" + sha256 "4b901526f4056c37284576f9ec3250c38fb0eb4d9a212977722089dd25c51b54" end end diff --git a/Formula/bitrise-den-agent@2.36.1.rb b/Formula/bitrise-den-agent@2.36.1.rb new file mode 100644 index 0000000..6b3d7f6 --- /dev/null +++ b/Formula/bitrise-den-agent@2.36.1.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2361 < 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.36.1", + revision: "459a75b14152a0b42f36a15cf12ae30e78af7807" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.36.1/bitrise-den-agent-darwin-arm64.zip" + sha256 "6915a6ff6ea2c217c25a0c231ed11e780a6a9aeacf3a7322d38c311f84b2067c" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.36.1/bitrise-den-agent-darwin-amd64.zip" + sha256 "1b79899c1b375eeed97e52103114926c8ef30b6de31e91230c2b91a980bbd762" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.36.1/bitrise-den-agent-linux-amd64.zip" + sha256 "4b901526f4056c37284576f9ec3250c38fb0eb4d9a212977722089dd25c51b54" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end