Skip to content

Commit

Permalink
Fix the version for built tfsec (#750)
Browse files Browse the repository at this point in the history
- also, only sign the checksums file
  • Loading branch information
owenrumney committed May 21, 2021
1 parent e03ee09 commit d3d6665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ builds:
main: ./cmd/tfsec
binary: tfsec
ldflags:
- "-X github.com/tfsec/tfsec/version.Version=${TAG} -s -w -extldflags '-fno-PIC -static'"
- "-X github.com/tfsec/tfsec/version.Version={{.Version}} -s -w -extldflags '-fno-PIC -static'"
env:
- CGO_ENABLED=0
- GOFLAGS=-mod=vendor
Expand Down Expand Up @@ -48,7 +48,7 @@ changelog:
- '^test:'

signs:
- artifacts: all
- artifacts: checksum

archives:
-
Expand Down

0 comments on commit d3d6665

Please sign in to comment.