Skip to content

Commit 3d7baaf

Browse files
jackspirouclaude
andcommitted
fix: correct ldflags in GoReleaser configuration
- Change ldflags to use main package instead of full path - Update variable names to match main.go declarations - Use {{.Runtime.Goversion}} for Go version 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 337ccf6 commit 3d7baaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.goreleaser.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ builds:
3434
goarch: arm
3535
ldflags:
3636
- -s -w
37-
- -X github.com/agentstation/tokenizer/cmd/tokenizer.version={{.Version}}
38-
- -X github.com/agentstation/tokenizer/cmd/tokenizer.commit={{.Commit}}
39-
- -X github.com/agentstation/tokenizer/cmd/tokenizer.date={{.Date}}
40-
- -X github.com/agentstation/tokenizer/cmd/tokenizer.builtBy=goreleaser
37+
- -X main.version={{.Version}}
38+
- -X main.commit={{.Commit}}
39+
- -X main.buildDate={{.Date}}
40+
- -X main.goVersion={{.Runtime.Goversion}}
4141

4242
archives:
4343
- id: tokenizer

0 commit comments

Comments
 (0)