Explorar el Código

cicd: Update .goreleaser.yml file to Feb 2025 syntax (#517)

James Read hace 1 año
padre
commit
0a4bcc6423
Se han modificado 1 ficheros con 3 adiciones y 8 borrados
  1. 3 8
      .goreleaser.yml

+ 3 - 8
.goreleaser.yml

@@ -43,7 +43,7 @@ builds:
 checksum:
   name_template: 'checksums.txt'
 snapshot:
-  name_template: "{{ .Branch }}-{{ .ShortCommit }}"
+  version_template: "{{ .Branch }}-{{ .ShortCommit }}"
 changelog:
   sort: asc
   groups:
@@ -66,9 +66,7 @@ changelog:
       - '^refactor:'
 
 archives:
-  -
-    format: tar.gz
-
+  - formats: tar.gz
     files:
       - config.yaml
       - LICENSE
@@ -77,14 +75,11 @@ archives:
       - webui
       - OliveTin.service
       - ./var/
-
     name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}{{ .Arm }}"
-
     wrap_in_directory: true
-
     format_overrides:
       - goos: windows
-        format: zip
+        formats: zip
 
 dockers:
   - image_templates: