Skip to content

Commit 9fe1ae2

Browse files
committed
Fix paths in .goreleaser.yaml for tracing version (#4187)
<!-- CURSOR_SUMMARY --> > [!NOTE] > **Low Risk** > Low risk config-only change; it just updates the `-X` linker flag path used during builds to set the tracing version and should only affect release build metadata. > > **Overview** > Fixes GoReleaser build configuration so the `-X` ldflag that injects the CLI version targets `github.com/overmindtech/cli/go/tracing.version` (instead of the old `github.com/overmindtech/cli/tracing.version`) for both Linux/Windows and macOS builds. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9bc6780a800b9b027088363b3ee96150a2083b5d. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> GitOrigin-RevId: 62b1585503d1ff5191efcdd2d3b210f05315b4f8
1 parent b57ecf3 commit 9fe1ae2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.goreleaser.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ builds:
99
- linux
1010
- windows
1111
ldflags:
12-
- -s -w -X github.com/overmindtech/cli/tracing.version={{.Version}}
12+
- -s -w -X github.com/overmindtech/cli/go/tracing.version={{.Version}}
1313
- binary: overmind
1414
id: overmind-macos
1515
env:
1616
- CGO_ENABLED=0
1717
goos:
1818
- darwin
1919
ldflags:
20-
- -s -w -X github.com/overmindtech/cli/tracing.version={{.Version}}
20+
- -s -w -X github.com/overmindtech/cli/go/tracing.version={{.Version}}
2121

2222
# For now we are going to disable signing MacOS packages. This works on Dylan's
2323
# person laptop, but we haven't worked out a way to get this set up in a github

0 commit comments

Comments
 (0)