|
1 | 1 | class Infisical < Formula |
2 | 2 | desc "CLI for Infisical" |
3 | 3 | homepage "https://infisical.com/docs/cli/overview" |
4 | | - url "https://github.com/Infisical/infisical/archive/refs/tags/infisical-cli/v0.41.90.tar.gz" |
5 | | - sha256 "c246439c7a60e57f332d0ffd478110441498e6f266ba21865f78dde328244350" |
| 4 | + url "https://github.com/Infisical/cli/archive/refs/tags/v0.42.4.tar.gz" |
| 5 | + sha256 "cfc03e7cf93e1d0eb0a8d24ce38e7feb16107e523f7fddc14d8a0eedab8276ec" |
6 | 6 | license "MIT" |
7 | | - head "https://github.com/Infisical/infisical.git", branch: "main" |
8 | | - |
9 | | - livecheck do |
10 | | - url :stable |
11 | | - regex(%r{^infisical-cli/v?(\d+(?:\.\d+)+)$}i) |
12 | | - end |
| 7 | + head "https://github.com/Infisical/cli.git", branch: "main" |
13 | 8 |
|
14 | 9 | bottle do |
15 | | - sha256 cellar: :any_skip_relocation, arm64_tahoe: "391fba831818f9ef3af511809edbff6f3271fcbbbec1b6ccf2f38d5ebac72885" |
16 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "5bc1e0e921d86036c42a16800918e0208c0c83a0db7943bacd467651a55888af" |
17 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "5bc1e0e921d86036c42a16800918e0208c0c83a0db7943bacd467651a55888af" |
18 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "5bc1e0e921d86036c42a16800918e0208c0c83a0db7943bacd467651a55888af" |
19 | | - sha256 cellar: :any_skip_relocation, sonoma: "93966e5d89d6773c2ea5aa40d1ed1ae9b061ad26430fbfad933e3bfe0d71bc44" |
20 | | - sha256 cellar: :any_skip_relocation, ventura: "93966e5d89d6773c2ea5aa40d1ed1ae9b061ad26430fbfad933e3bfe0d71bc44" |
21 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "1b7580328aa751528593135df1a464611d3e1d2559f7dfa33ff60c5d5e417884" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_tahoe: "c84998b7c4308436d41bb7d4227c85a300a04f25b095e8e26f032ba5c6e16304" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "c84998b7c4308436d41bb7d4227c85a300a04f25b095e8e26f032ba5c6e16304" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "c84998b7c4308436d41bb7d4227c85a300a04f25b095e8e26f032ba5c6e16304" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "8a01c4205ee1b0622f297ca52e4253d44fda81dfc9ec5e714e6129002af35103" |
| 14 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "139bee269fc8dfff13b6cdaaeecc05a13fc2eebaf448bf2a0eeb28ee441e8aff" |
22 | 15 | end |
23 | 16 |
|
24 | 17 | depends_on "go" => :build |
25 | 18 |
|
26 | 19 | def install |
27 | | - cd "cli" do |
28 | | - ldflags = %W[ |
29 | | - -s -w |
30 | | - -X github.com/Infisical/infisical-merge/packages/util.CLI_VERSION=#{version} |
31 | | - ] |
32 | | - system "go", "build", *std_go_args(ldflags:) |
33 | | - end |
| 20 | + ldflags = %W[ |
| 21 | + -s -w |
| 22 | + -X github.com/Infisical/infisical-merge/packages/util.CLI_VERSION=#{version} |
| 23 | + ] |
| 24 | + system "go", "build", *std_go_args(ldflags:) |
34 | 25 | end |
35 | 26 |
|
36 | 27 | test do |
|
0 commit comments