Update goreleaser config file format

This commit is contained in:
Philipp Wolfer 2025-04-29 11:43:42 +02:00
parent 597914e6db
commit e135ea5fa9
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B

View file

@ -6,7 +6,7 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj # vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 1 version: 2
before: before:
hooks: hooks:
@ -28,7 +28,7 @@ universal_binaries:
- replace: true - replace: true
archives: archives:
- format: tar.gz - formats: ['tar.gz']
# this name template makes the OS and Arch compatible with the results of `uname`. # this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >- name_template: >-
{{ .ProjectName }}-{{ .Version }}_ {{ .ProjectName }}-{{ .Version }}_
@ -42,7 +42,7 @@ archives:
# use zip for windows archives # use zip for windows archives
format_overrides: format_overrides:
- goos: windows - goos: windows
format: zip formats: ['zip']
files: files:
- COPYING - COPYING
- README.md - README.md