Skip to content

Commit 5290bb6

Browse files
committed
[skip ci] Brew formula update for meta-cli version v0.0.88
1 parent 02c7544 commit 5290bb6

1 file changed

Lines changed: 77 additions & 0 deletions

File tree

Formula/meta.rb

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# typed: false
2+
# frozen_string_literal: true
3+
4+
# This file was generated by GoReleaser. DO NOT EDIT.
5+
class Meta < Formula
6+
desc "CLI for reading/writing Screwdriver project metadata"
7+
homepage "https://github.com/screwdriver-cd/meta-cli"
8+
version "0.0.88"
9+
10+
on_macos do
11+
if Hardware::CPU.intel?
12+
url "https://github.com/screwdriver-cd/meta-cli/releases/download/v0.0.88/meta-cli_darwin_amd64"
13+
sha256 "b007e6339b51cbe77ba9a57477a5ee44ef2a6cb94ca876ed895e7df2cce8428d"
14+
15+
def install
16+
bin.install File.basename(@stable.url) => "meta"
17+
ohai 'Notice', <<~EOL
18+
In order to use, you may wish to add the following to your ~/.bash_profile and execute now
19+
20+
export SD_META_DIR="$HOME/meta"
21+
mkdir -p "$SD_META_DIR"
22+
23+
EOL
24+
end
25+
end
26+
if Hardware::CPU.arm?
27+
url "https://github.com/screwdriver-cd/meta-cli/releases/download/v0.0.88/meta-cli_darwin_arm64"
28+
sha256 "2327b9188dbf9eaa61e0e99e7a788e190066fd99c6b3e54de0de6143ef6bdc20"
29+
30+
def install
31+
bin.install File.basename(@stable.url) => "meta"
32+
ohai 'Notice', <<~EOL
33+
In order to use, you may wish to add the following to your ~/.bash_profile and execute now
34+
35+
export SD_META_DIR="$HOME/meta"
36+
mkdir -p "$SD_META_DIR"
37+
38+
EOL
39+
end
40+
end
41+
end
42+
43+
on_linux do
44+
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
45+
url "https://github.com/screwdriver-cd/meta-cli/releases/download/v0.0.88/meta-cli_linux_amd64"
46+
sha256 "33ac9b53755599e162dea659d2b9fc45ebc49acd520d9ad22e80605fd46f6bfd"
47+
def install
48+
bin.install File.basename(@stable.url) => "meta"
49+
ohai 'Notice', <<~EOL
50+
In order to use, you may wish to add the following to your ~/.bash_profile and execute now
51+
52+
export SD_META_DIR="$HOME/meta"
53+
mkdir -p "$SD_META_DIR"
54+
55+
EOL
56+
end
57+
end
58+
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
59+
url "https://github.com/screwdriver-cd/meta-cli/releases/download/v0.0.88/meta-cli_linux_arm64"
60+
sha256 "605dfe3bba8234d135d2e8437e8c3f12d2c5f1ac711b1767b44fbdeadeaae342"
61+
def install
62+
bin.install File.basename(@stable.url) => "meta"
63+
ohai 'Notice', <<~EOL
64+
In order to use, you may wish to add the following to your ~/.bash_profile and execute now
65+
66+
export SD_META_DIR="$HOME/meta"
67+
mkdir -p "$SD_META_DIR"
68+
69+
EOL
70+
end
71+
end
72+
end
73+
74+
test do
75+
system "#{bin}/meta-cli", "--version"
76+
end
77+
end

0 commit comments

Comments
 (0)