summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.goreleaser.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 4a42bc94b..5cd9ce7ee 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -4,9 +4,15 @@ before:
hooks:
builds:
- env:
+ - CGO_ENABLED=0
goos:
- linux
- darwin
+ goarch:
+ - amd64
+ - arm64
+ ldflags:
+ - -s -w -X github.com/opencode-ai/opencode/internal/version.Version={{.Version}}
main: ./main.go
archives: