Skip to content

Commit

Permalink
Merge pull request #836 from bmeneg/fix-homebrew
Browse files Browse the repository at this point in the history
goreleaser: fix homebrew test case
  • Loading branch information
bmeneg authored Jun 27, 2022
2 parents 9972572 + 147e7bb commit 1b0bf5c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ brews:
email: [email protected]
install: bin.install "lab"
test: |
system "git", "init"
%w[haunted house].each { |f| touch testpath/f }
system "git", "add", "haunted", "house"
system "git", "commit", "-a", "-m", "Initial Commit"
lab_env_config = "LAB_CORE_HOST=foo LAB_CORE_USER=bar LAB_CORE_TOKEN=baz"
assert_match "haunted\nhouse", shell_output("#{lab_env_config} #{bin}/lab ls-files").strip
lab_new_version = "lab version {{.Version}}"
assert_match lab_new_version, shell_output("#{bin}/lab --version").strip
scoop:
bucket:
Expand Down

0 comments on commit 1b0bf5c

Please sign in to comment.