diff --git a/.goreleaser.yml b/.goreleaser.yml index 80310fe0..d3fbc013 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,8 @@ builds: - ppc64le - s390x dir: ./cmd/k8s-netperf/ - + ldflags: + - -X github.com/cloud-bulldozer/go-commons/version.GitCommit={{.Commit}} -X github.com/cloud-bulldozer/go-commons/version.BuildDate={{.Date}} -X github.com/cloud-bulldozer/go-commons/version.Version={{.Version}} archives: - format: tar.gz # this name template makes the OS and Arch compatible with the results of uname.