Skip to content

Commit cb72fd2

Browse files
Update ldflags in .goreleaser.yml.erb so user agent is set correctly in future releases (#6929) (#4962)
* 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]>
1 parent 62bf6d7 commit cb72fd2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changelog/6929.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ builds:
2929
- goarch: arm64
3030
goos: windows
3131
ldflags:
32-
- -s -w -X version.ProviderVersion={{.Version}}
32+
- -s -w -X github.com/hashicorp/terraform-provider-google-beta/version.ProviderVersion={{.Version}}
3333
mod_timestamp: '{{ .CommitTimestamp }}'
3434
checksum:
3535
extra_files:

0 commit comments

Comments
 (0)