Skip to content

Commit f2f6efd

Browse files
committed
fix version ldflags
1 parent b106787 commit f2f6efd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.goreleaser.yml

+6
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ before:
44
hooks:
55
builds:
66
- env:
7+
- CGO_ENABLED=0
78
goos:
89
- linux
910
- darwin
11+
goarch:
12+
- amd64
13+
- arm64
14+
ldflags:
15+
- -s -w -X github.com/opencode-ai/opencode/internal/version.Version={{.Version}}
1016
main: ./main.go
1117

1218
archives:

0 commit comments

Comments
 (0)