Skip to content

Commit 811221b

Browse files
stefanbchenrui333
authored andcommitted
operator-sdk: build with [email protected]
operator-sdk: update test Signed-off-by: Rui Chen <[email protected]>
1 parent ed6fc08 commit 811221b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Formula/o/operator-sdk.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class OperatorSdk < Formula
55
tag: "v1.33.0",
66
revision: "542966812906456a8d67cf7284fc6410b104e118"
77
license "Apache-2.0"
8+
revision 1
89
head "https://github.com/operator-framework/operator-sdk.git", branch: "master"
910

1011
livecheck do
@@ -22,7 +23,8 @@ class OperatorSdk < Formula
2223
sha256 cellar: :any_skip_relocation, x86_64_linux: "a1e03597383084ce8f01d276d922bc96b01fd3865abb1801f71d8e016d06ebbb"
2324
end
2425

25-
depends_on "go"
26+
# use "go" again when https://github.com/operator-framework/operator-sdk/issues/6644 is resolved and released
27+
depends_on "[email protected]"
2628

2729
def install
2830
ENV["GOBIN"] = bin
@@ -32,6 +34,8 @@ def install
3234
end
3335

3436
test do
37+
ENV.prepend_path "PATH", Formula["[email protected]"].bin
38+
3539
if build.stable?
3640
version_output = shell_output("#{bin}/operator-sdk version")
3741
assert_match "version: \"v#{version}\"", version_output

0 commit comments

Comments
 (0)