diff --git a/Formula/bitrise-den-agent.rb b/Formula/bitrise-den-agent.rb index 72a98a0..d174968 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.38.29", - revision: "99ddda462ccf3f2244a3a7e478ef56c04a5ed15e" + tag: "v2.39.3", + revision: "df8d8b9c7b3c2ececb82dc44dc802a59259f66b0" license "" on_macos do if Hardware::CPU.arm? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.29/bitrise-den-agent-darwin-arm64.zip" - sha256 "265eee673096afb7912ccfd44d5b828be3422afddba49d0f95320af35ab65019" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.39.3/bitrise-den-agent-darwin-arm64.zip" + sha256 "adccfd09389277da964150c0332d68356244927550997725acd25267e54ab2be" end if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.29/bitrise-den-agent-darwin-amd64.zip" - sha256 "b4c3c440f8e78c9b30ed5b12d3544ebd14eddb1beeab722e760c88bddfdbb267" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.39.3/bitrise-den-agent-darwin-amd64.zip" + sha256 "33c1cda3cacf0bafce7ec47090e4e27f8fbf28a4f971288b37b8a82d26b6b6ad" end end on_linux do if Hardware::CPU.intel? - url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.29/bitrise-den-agent-linux-amd64.zip" - sha256 "046ae66b3f02654527baac26d99fbc8b9dfd8ecab89cab5026987278a11b4799" + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.39.3/bitrise-den-agent-linux-amd64.zip" + sha256 "1a8f0c29a418cd6f7b18a8ba136b85d17c2171e98d9b25ccbcb9e54a1e1f1854" end end diff --git a/Formula/bitrise-den-agent@2.39.3.rb b/Formula/bitrise-den-agent@2.39.3.rb new file mode 100644 index 0000000..a92b308 --- /dev/null +++ b/Formula/bitrise-den-agent@2.39.3.rb @@ -0,0 +1,34 @@ +class BitriseDenAgentAT2393 < 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.39.3", + revision: "df8d8b9c7b3c2ececb82dc44dc802a59259f66b0" + license "" + + on_macos do + if Hardware::CPU.arm? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.39.3/bitrise-den-agent-darwin-arm64.zip" + sha256 "adccfd09389277da964150c0332d68356244927550997725acd25267e54ab2be" + end + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.39.3/bitrise-den-agent-darwin-amd64.zip" + sha256 "33c1cda3cacf0bafce7ec47090e4e27f8fbf28a4f971288b37b8a82d26b6b6ad" + end + end + + on_linux do + if Hardware::CPU.intel? + url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.39.3/bitrise-den-agent-linux-amd64.zip" + sha256 "1a8f0c29a418cd6f7b18a8ba136b85d17c2171e98d9b25ccbcb9e54a1e1f1854" + end + end + + def install + bin.install "bitrise-den-agent" + end + + test do + system "#{bin}/bitrise-den-agent" + end +end