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:
parent
ef62f6566b
commit
c14697d803
@ -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'"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user