Skip to content

Commit

Permalink
chore(goreleaser): pass the version as ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
nettoclaudio committed Aug 11, 2023
1 parent a7ada2e commit a996d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ builds:
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
- '-s -w -X github.com/tsuru/terraform-provider-rpaas/internal/provider.Version={{ .Version }}'
goos:
- freebsd
- windows
Expand Down

0 comments on commit a996d6f

Please sign in to comment.