Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit f2f6efd

Browse files
author
Dax Raad
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

Lines changed: 6 additions & 0 deletions
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)