Skip to content

Commit 47a37b7

Browse files
committed
back to disablign cgo
1 parent bdbf31f commit 47a37b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.goreleaser.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ before:
44
hooks:
55
builds:
66
- env:
7-
- CGO_ENABLED=1
7+
- CGO_ENABLED=0
88
goos:
99
- linux
1010
- darwin
@@ -17,7 +17,6 @@ builds:
1717

1818
archives:
1919
- format: tar.gz
20-
# this name template makes the OS and Arch compatible with the results of uname.
2120
name_template: >-
2221
opencode-
2322
{{- if eq .Os "darwin" }}mac-
@@ -27,7 +26,6 @@ archives:
2726
{{- else if eq .Arch "#86" }}i386
2827
{{- else }}{{ .Arch }}{{ end }}
2928
{{- if .Arm }}v{{ .Arm }}{{ end }}
30-
# use zip for windows archives
3129
format_overrides:
3230
- goos: windows
3331
format: zip

0 commit comments

Comments
 (0)