-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)
committed
Sep 13, 2024
1 parent
24b9076
commit 5d1f299
Showing
2 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
class BitriseDenAgentAT23811 < 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.11", | ||
revision: "e6b54d5823b81bbc3baf126f7d519bf1ee2bdeea" | ||
license "" | ||
|
||
on_macos do | ||
if Hardware::CPU.arm? | ||
url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.11/bitrise-den-agent-darwin-arm64.zip" | ||
sha256 "051953a1c942c93aa4d8c96688c88b869629da6e58fe2353851bc3da7a862a65" | ||
end | ||
if Hardware::CPU.intel? | ||
url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.11/bitrise-den-agent-darwin-amd64.zip" | ||
sha256 "675e1331c812b248e385acdc27841a246dcc9b47d3161ef0e10ae428bf2b8333" | ||
end | ||
end | ||
|
||
on_linux do | ||
if Hardware::CPU.intel? | ||
url "https://github.com/bitrise-io/bitrise-den-agent/releases/download/v2.38.11/bitrise-den-agent-linux-amd64.zip" | ||
sha256 "3147c0f1c9c467fa3d08b001173b249b1136e44badf113a736e0bd92b138a38b" | ||
end | ||
end | ||
|
||
def install | ||
bin.install "bitrise-den-agent" | ||
end | ||
|
||
test do | ||
system "#{bin}/bitrise-den-agent" | ||
end | ||
end |