Commit c14697d8 authored by Felix Uhl's avatar Felix Uhl
Browse files

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.
parent ef62f656
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'"
  ];