fix version ldflags
This commit is contained in:
parent
b106787a50
commit
f2f6efdd35
1 changed files with 6 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue