Dax Raad 10 месяцев назад
Родитель
Сommit
47a37b7dd6
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      .goreleaser.yml

+ 1 - 3
.goreleaser.yml

@@ -4,7 +4,7 @@ before:
   hooks:
   hooks:
 builds:
 builds:
   - env:
   - env:
-      - CGO_ENABLED=1
+      - CGO_ENABLED=0
     goos:
     goos:
       - linux
       - linux
       - darwin
       - darwin
@@ -17,7 +17,6 @@ builds:
 
 
 archives:
 archives:
   - format: tar.gz
   - format: tar.gz
-    # this name template makes the OS and Arch compatible with the results of uname.
     name_template: >-
     name_template: >-
       opencode-
       opencode-
       {{- if eq .Os "darwin" }}mac-
       {{- if eq .Os "darwin" }}mac-
@@ -27,7 +26,6 @@ archives:
       {{- else if eq .Arch "#86" }}i386
       {{- else if eq .Arch "#86" }}i386
       {{- else }}{{ .Arch }}{{ end }}
       {{- else }}{{ .Arch }}{{ end }}
       {{- if .Arm }}v{{ .Arm }}{{ end }}
       {{- if .Arm }}v{{ .Arm }}{{ end }}
-    # use zip for windows archives
     format_overrides:
     format_overrides:
       - goos: windows
       - goos: windows
         format: zip
         format: zip