tfsec: fix broken info links and version string

Fixes #200710. The version string must be prefixed with a v, otherwise
links to information about the findings from tfsec will 404.
This commit is contained in:
Felix Uhl 2022-11-11 16:09:23 +01:00
parent ef62f6566b
commit c14697d803

View File

@ -17,7 +17,7 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X github.com/aquasecurity/tfsec/version.Version=${version}"
"-X github.com/aquasecurity/tfsec/version.Version=v${version}"
## not sure if this is needed (https://github.com/aquasecurity/tfsec/blob/master/.goreleaser.yml#L6)
# "-extldflags '-fno-PIC -static'"
];