fix version ldflags
release / goreleaser (push) Has been cancelled

This commit is contained in:
Dax Raad
2025-04-24 12:26:34 -04:00
parent 6e33817b30
commit e35a914ccc
+6
View File
@@ -4,9 +4,15 @@ before:
hooks: hooks:
builds: builds:
- env: - env:
- CGO_ENABLED=0
goos: goos:
- linux - linux
- darwin - darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/opencode-ai/opencode/internal/version.Version={{.Version}}
main: ./main.go main: ./main.go
archives: archives: