Skip to content

Commit

Permalink
allow head install from brew
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Cordell <cordell.evan@gmail.com>
  • Loading branch information
ecordell committed Sep 30, 2021
1 parent 4f18a6b commit ad7e1fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ brews:
test: |
system "#{bin}/spicedb version"
install: |
if !File.exists? "spicedb"
system "go build --ldflags \"-s -w -X github.com/authzed/spicedb/internal/version.Version=$(git describe --always --abbrev=7 --dirty)\" ./cmd/spicedb"
end
bin.install "spicedb"
checksum:
name_template: "checksums.txt"
Expand Down

0 comments on commit ad7e1fd

Please sign in to comment.