Skip to content

Commit b11b280

Browse files
DanielHougaardchenrui333
authored andcommitted
infisical: update livecheck, moved cli repo
infisical: use default livecheck Signed-off-by: Rui Chen <[email protected]>
1 parent d71ac90 commit b11b280

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

Formula/i/infisical.rb

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
class Infisical < Formula
22
desc "CLI for Infisical"
33
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"
66
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"
138

149
bottle do
1510
sha256 cellar: :any_skip_relocation, arm64_tahoe: "391fba831818f9ef3af511809edbff6f3271fcbbbec1b6ccf2f38d5ebac72885"
@@ -24,13 +19,11 @@ class Infisical < Formula
2419
depends_on "go" => :build
2520

2621
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
22+
ldflags = %W[
23+
-s -w
24+
-X github.com/Infisical/infisical-merge/packages/util.CLI_VERSION=#{version}
25+
]
26+
system "go", "build", *std_go_args(ldflags:)
3427
end
3528

3629
test do

0 commit comments

Comments
 (0)