Kaynağa Gözat

upgrade goreleaser

Mike 8 ay önce
ebeveyn
işleme
8c5b615524
2 değiştirilmiş dosya ile 10 ekleme ve 7 silme
  1. 9 6
      .goreleaser.yaml
  2. 1 1
      Makefile

+ 9 - 6
.goreleaser.yaml

@@ -39,9 +39,10 @@ builds:
 
 archives:
   - id: linux
-    builds:
+    ids:
       - linux
-    format: tar.gz
+    formats:
+      - tar.gz
     wrap_in_directory: true
     files:
       - LICENSE
@@ -53,9 +54,10 @@ archives:
       {{ .Binary }}.{{ .Version }}.{{ .Os }}.
       {{- if eq .Arch "amd64" }}x86_64{{ else }}arm64_arm7_raspberry_pi{{ end }}
   - id: macos
-    builds:
+    ids:
       - macos
-    format: zip
+    formats:
+      - zip
     wrap_in_directory: true
     files:
       - LICENSE
@@ -65,9 +67,10 @@ archives:
       {{ .Binary }}.{{ .Version }}.macos.
       {{- if eq .Arch "amd64" }}intel_x86_64{{ else }}apple_silicon{{ end }}
   - id: windows
-    builds:
+    ids:
       - windows
-    format: zip
+    formats:
+      - zip
     wrap_in_directory: true
     files:
       - LICENSE

+ 1 - 1
Makefile

@@ -2,7 +2,7 @@
 # Build & release helpers
 ################################################################################
 
-DOCKER_IMAGE_TAG_GO_RELEASER := goreleaser/goreleaser:v2.9.0
+DOCKER_IMAGE_TAG_GO_RELEASER := goreleaser/goreleaser:v2.13.1
 DOCKER_RUN_GO_RELEASER := @docker run \
 	--env CGO_ENABLED=0 \
 	--env GITHUB_TOKEN=$(GITHUB_TOKEN) \