on main help sign in
fix version ldflags
commitf2f6efdd350f50201dbf4787dfe508ba4b7beddd authorDax Raad <d@ironbay.co> dateThu 24 Apr 2025, 12:26 (2 years ago) parentb106787
1 file changed+6
.goreleaser.yml+6
.goreleaser.yml+6
@@ -4,9 +4,15 @@ before:
44 hooks:
55builds:
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
1218archives: