on main help sign in
fix version ldflags
f2f6efdDax Raad
.goreleaser.yml+6
@@ -4,9 +4,15 @@ before:
4 hooks:
4 hooks:
5builds:
5builds:
6 - env:
6 - env:
7+ - CGO_ENABLED=0
7 goos:
8 goos:
8 - linux
9 - linux
9 - darwin
10 - darwin
11+ goarch:
12+ - amd64
13+ - arm64
14+ ldflags:
15+ - -s -w -X github.com/opencode-ai/opencode/internal/version.Version={{.Version}}
10 main: ./main.go
16 main: ./main.go
11
17
12archives:
18archives: