Skip to content

Commit

Permalink
Add version build info to HEAD tap formula
Browse files Browse the repository at this point in the history
  • Loading branch information
akhy committed Jul 21, 2023
1 parent 4e0ab08 commit fb03d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ brews:
end
install: |
if build.head?
system "go", "build", *std_go_args(ldflags: "-s -w"), "."
system "go", "build", *std_go_args(ldflags: "-s -w -X main.version={{.Version}}"), "."
else
bin.install "ksw"
end
Expand Down

0 comments on commit fb03d21

Please sign in to comment.