From 63007ce46abdda5ff0e166a060b5cc8413f42037 Mon Sep 17 00:00:00 2001 From: "J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)" Date: Thu, 25 Apr 2024 08:20:46 +0000 Subject: [PATCH] DEN Agent version update - v2.33.3 --- Formula/bitrise-den-agent.rb | 16 +++++++------- Formula/bitrise-den-agent@2.33.3.rb | 34 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 Formula/bitrise-den-agent@2.33.3.rb diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 3f4de1b..1ce5879 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.31.5", - revision: "492cb372e4987484167d75eaedcaa43d278707e6" + tag: "v2.33.3", + revision: "befbc74ce2b8d82c78ed3d1d093aab0609df0398" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-darwin-arm64.zip" - sha256 "e0d408367e292097f09129bf855db14e80c7947e330f1835b4cba8e695d77728" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.3/bitrise-den-agent-darwin-arm64.zip" + sha256 "0a1fe037e28f66f9ee320b99d3c16f8eed4b501e09816f4e71babe6412d67056" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-darwin-amd64.zip" - sha256 "8b24fea0017bd3677a1b52ec149e887298f68913b849cdf3b57cf45c501420a9" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.3/bitrise-den-agent-darwin-amd64.zip" + sha256 "75c436db48f627332ffbd1a484d49564865d067b7ca7e8f98c7dff9aadc7c58c" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.31.5/bitrise-den-agent-linux-amd64.zip" - sha256 "8e7a34ec730c962f799bc1906eb82933e1a0b4c74c1f83f1f1182eaf872494c1" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.3/bitrise-den-agent-linux-amd64.zip" + sha256 "97e75424814684d2dd40eba5ee4f75c0c022f11e0171a8163f364cd3952f57ab" end end diff --git a/Formula/bitrise-den-agent@2.33.3.rb b/Formula/bitrise-den-agent@2.33.3.rb new file mode 100644 index 0000000..a44aa85 --- /dev/null +++ b/Formula/bitrise-den-agent@2.33.3.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2333 < 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.33.3", + revision: "befbc74ce2b8d82c78ed3d1d093aab0609df0398" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.3/bitrise-den-agent-darwin-arm64.zip" + sha256 "0a1fe037e28f66f9ee320b99d3c16f8eed4b501e09816f4e71babe6412d67056" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.3/bitrise-den-agent-darwin-amd64.zip" + sha256 "75c436db48f627332ffbd1a484d49564865d067b7ca7e8f98c7dff9aadc7c58c" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.33.3/bitrise-den-agent-linux-amd64.zip" + sha256 "97e75424814684d2dd40eba5ee4f75c0c022f11e0171a8163f364cd3952f57ab" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end