Closed olivierlemasle closed 3 years ago
NB: as documented, default value for ldflags is:
-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
so I've just adapted to the right version parameter.
thanks a lot for the PR.
Fixes #8
I dont't really know GoReleaser but this seems to do the trick. Tested with
goreleaser --snapshot --skip-publish --rm-dist
.