Skip to content

Commit

Permalink
Fix goreleaser: populate ldflags (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtojek authored Jul 16, 2021
1 parent d474f8d commit 46873e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
builds:
- ldflags:
- -X github.com/elastic/elastic-package/internal/version.CommitHash={{.ShortCommit}}
- -X github.com/elastic/elastic-package/internal/version.BuildTime={{.Timestamp}}

0 comments on commit 46873e1

Please sign in to comment.