Przeglądaj źródła

Update goreleaser

tags/v2.1.8^2
9seconds 2 miesięcy temu
rodzic
commit
de66835657
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7
    3
      .goreleaser.yml

+ 7
- 3
.goreleaser.yml Wyświetl plik

@@ -1,5 +1,7 @@
1 1
 ---
2 2
 
3
+version: 2
4
+
3 5
 project_name: mtg
4 6
 
5 7
 before:
@@ -41,11 +43,13 @@ builds:
41 43
 
42 44
 archives:
43 45
   - name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
44
-    format: tar.gz
46
+    formats:
47
+      - tar.gz
45 48
     wrap_in_directory: true
46 49
     format_overrides:
47 50
       - goos: windows
48
-        format: zip
51
+        formats:
52
+          - zip
49 53
     files:
50 54
       - LICENSE
51 55
       - README.md
@@ -55,7 +59,7 @@ gomod:
55 59
   proxy: true
56 60
 
57 61
 snapshot:
58
-  name_template: '{{ .Version }}'
62
+  version_template: '{{ .Version }}'
59 63
 
60 64
 checksum:
61 65
   name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'

Ładowanie…
Anuluj
Zapisz