Skip to content

Commit

Permalink
Update ldflags in .goreleaser.yml.erb so user agent is set correctly …
Browse files Browse the repository at this point in the history
…in future releases (#6929) (#13208)

* Update .goreleaser.yml.erb

* Set ldflags differently for TPG and TPGB in goreleaser.yml

Signed-off-by: Modular Magician <[email protected]>

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 9, 2022
1 parent 89affbe commit 5bc7515
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/6929.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ builds:
- goarch: arm64
goos: windows
ldflags:
- -s -w -X version.ProviderVersion={{.Version}}
- -s -w -X github.com/hashicorp/terraform-provider-google/version.ProviderVersion={{.Version}}
mod_timestamp: '{{ .CommitTimestamp }}'
checksum:
extra_files:
Expand Down

0 comments on commit 5bc7515

Please sign in to comment.