Skip to content

Commit

Permalink
Fix homebrew formula test
Browse files Browse the repository at this point in the history
We were using --version for test which was wrong, it now exists with 1 so this
would fail (before that would exit 0 which was buggy). Let's use tkn version
properly!

Signed-off-by: Chmouel Boudjnah <[email protected]>
  • Loading branch information
chmouel authored and tekton-robot committed Aug 22, 2019
1 parent 733a0d4 commit b5a87fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ brews:
homepage: "https://github.com/tektoncd/cli"
description: Tekton CLI - The command line interface for interacting with Tekton
test: |
system "#{bin}/tkn", "--version"
system "#{bin}/tkn", "version"
install: |
bin.install_symlink "tkn" => "kubectl-tkn"
bin.install "tkn" => "tkn"
Expand Down

0 comments on commit b5a87fd

Please sign in to comment.