Skip to content

Commit dc8e532

Browse files
Remove unnecessary flags from goreleaser ldflags configuration (#747)
* fix: remove unnecessary flags from ldflags in goreleaser configuration * feat: include debug symbols in goreleaser builds by removing -s -w flags from ldflags --------- Co-authored-by: Eduardo Sanchez <eduardodfmex@hotmail.com>
1 parent 4b079ad commit dc8e532

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: changed
2+
body: Include debug symbols in goreleaser builds by removing -s -w flags from ldflags
3+
time: 2025-04-28T21:05:52.764469281Z
4+
custom:
5+
Issue: "736"

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ builds:
1414
flags:
1515
- -trimpath
1616
ldflags:
17-
- '-s -w -X github.com/microsoft/terraform-provider-power-platform/common.ProviderVersion={{ .Version }} -X github.com/microsoft/terraform-provider-power-platform/common.Commit={{.Commit}} -X github.com/microsoft/terraform-provider-power-platform/common.Branch={{ .Branch }}'
17+
- '-X github.com/microsoft/terraform-provider-power-platform/common.ProviderVersion={{ .Version }} -X github.com/microsoft/terraform-provider-power-platform/common.Commit={{.Commit}} -X github.com/microsoft/terraform-provider-power-platform/common.Branch={{ .Branch }}'
1818

1919
goos:
2020
- freebsd

0 commit comments

Comments
 (0)