Fix .goreleaser.yaml formatting and update version template

This commit is contained in:
studiokaiji
2025-11-30 15:01:14 +09:00
parent 7d00308703
commit 0902bb896f

View File

@@ -1,5 +1,6 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
@@ -15,7 +16,7 @@ builds:
- darwin
archives:
- format: tar.gz
- formats: ["tar.gz"]
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
{{ .ProjectName }}_
@@ -27,11 +28,11 @@ archives:
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
formats: ["zip"]
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters: