Skip to content

Commit 46873e1

Browse files
authored
Fix goreleaser: populate ldflags (#433)
1 parent d474f8d commit 46873e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.goreleaser.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
builds:
2+
- ldflags:
3+
- -X github.com/elastic/elastic-package/internal/version.CommitHash={{.ShortCommit}}
4+
- -X github.com/elastic/elastic-package/internal/version.BuildTime={{.Timestamp}}

0 commit comments

Comments
 (0)