on main help sign in
back to disablign cgo
47a37b7Dax Raad
.goreleaser.yml+1−3
@@ -4,7 +4,7 @@ before:
4 hooks:
4 hooks:
5builds:
5builds:
6 - env:
6 - env:
7− - CGO_ENABLED=1
7+ - CGO_ENABLED=0
8 goos:
8 goos:
9 - linux
9 - linux
10 - darwin
10 - darwin
@@ -17,7 +17,6 @@ builds:
17
17
18archives:
18archives:
19 - format: tar.gz
19 - format: tar.gz
20− # this name template makes the OS and Arch compatible with the results of uname.
21 name_template: >-
20 name_template: >-
22 opencode-
21 opencode-
23 {{- if eq .Os "darwin" }}mac-
22 {{- if eq .Os "darwin" }}mac-
@@ -27,7 +26,6 @@ archives:
27 {{- else if eq .Arch "#86" }}i386
26 {{- else if eq .Arch "#86" }}i386
28 {{- else }}{{ .Arch }}{{ end }}
27 {{- else }}{{ .Arch }}{{ end }}
29 {{- if .Arm }}v{{ .Arm }}{{ end }}
28 {{- if .Arm }}v{{ .Arm }}{{ end }}
30− # use zip for windows archives
31 format_overrides:
29 format_overrides:
32 - goos: windows
30 - goos: windows
33 format: zip
31 format: zip