Set GitSHA when using goreleaser
The makefile sets this flag but goreleaser was not configured
to do so.
Fixes
@@ -8,7 +8,7 @@ builds:
- linux
goarch:
- amd64
- ldflags: -s -w -X github.com/heptio/sonobuoy/pkg/buildinfo.Version=v{{.Version}}
+ ldflags: -s -w -X github.com/heptio/sonobuoy/pkg/buildinfo.Version=v{{.Version}} -X github.com/heptio/sonobuoy/pkg/buildinfo.GitSHA={{.FullCommit}}
archive:
format: tar.gz
files:
