Update goreleaser

This commit is contained in:
9seconds
2026-02-11 08:59:17 +01:00
parent 75f11965d8
commit de66835657
+7 -3
View File
@@ -1,5 +1,7 @@
--- ---
version: 2
project_name: mtg project_name: mtg
before: before:
@@ -41,11 +43,13 @@ builds:
archives: archives:
- name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format: tar.gz formats:
- tar.gz
wrap_in_directory: true wrap_in_directory: true
format_overrides: format_overrides:
- goos: windows - goos: windows
format: zip formats:
- zip
files: files:
- LICENSE - LICENSE
- README.md - README.md
@@ -55,7 +59,7 @@ gomod:
proxy: true proxy: true
snapshot: snapshot:
name_template: '{{ .Version }}' version_template: '{{ .Version }}'
checksum: checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt' name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'