From 45e3ee56da36cdd30f225301d3af88b7d9beaee5 Mon Sep 17 00:00:00 2001 From: "J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)" Date: Mon, 10 Jun 2024 14:46:20 +0000 Subject: [PATCH] DEN Agent version update - v2.35.1 --- Formula/bitrise-den-agent.rb | 16 +++++++------- Formula/bitrise-den-agent@2.35.1.rb | 34 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 8 deletions(-) create mode 100644 Formula/bitrise-den-agent@2.35.1.rb diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 1e8e541..0a9d0d6 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.35.1", + revision: "957606bbd8a8c04e658837e5d1cef7044c358cff" 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.35.1/bitrise-den-agent-darwin-arm64.zip" + sha256 "730db2ae33ce084627018f1c570e26112e25f1b86a463a56fe6d151b6bf6a5df" 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.35.1/bitrise-den-agent-darwin-amd64.zip" + sha256 "848b116397a3a2b79572ff2d2dee2500a5054e172e25e39397a1757530c7dc08" 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.35.1/bitrise-den-agent-linux-amd64.zip" + sha256 "6e60280d9a4bb06b8ac92e33eb0f8c8b78030642059ba9fa7e5356ca393e4336" end end diff --git a/Formula/bitrise-den-agent@2.35.1.rb b/Formula/bitrise-den-agent@2.35.1.rb new file mode 100644 index 0000000..779a315 --- /dev/null +++ b/Formula/bitrise-den-agent@2.35.1.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2351 < 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.35.1", + revision: "957606bbd8a8c04e658837e5d1cef7044c358cff" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.35.1/bitrise-den-agent-darwin-arm64.zip" + sha256 "730db2ae33ce084627018f1c570e26112e25f1b86a463a56fe6d151b6bf6a5df" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.35.1/bitrise-den-agent-darwin-amd64.zip" + sha256 "848b116397a3a2b79572ff2d2dee2500a5054e172e25e39397a1757530c7dc08" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.35.1/bitrise-den-agent-linux-amd64.zip" + sha256 "6e60280d9a4bb06b8ac92e33eb0f8c8b78030642059ba9fa7e5356ca393e4336" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end