diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 000000000..e6682b0b9 --- /dev/null +++ b/.goreleaser.yml @@ -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}} \ No newline at end of file