commit df287f9adc7f7a8ea35928d2015019afa9499204
parent 18ce13189bf7f5251a139fdc8e9ee1dcf16d3175
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date: Sat, 19 Sep 2026 15:43:43 -0300
build: move the release config to goreleaser v2
Version 2 refuses a config that does not declare its version, and renamed
the snapshot and archive format fields. The generated formula and manifest
are unchanged but for template cosmetics.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.goreleaser.yml b/.goreleaser.yml
@@ -1,4 +1,5 @@
# Make sure to check the documentation at http://goreleaser.com
+version: 2
before:
hooks:
- go mod tidy
@@ -14,7 +15,7 @@ builds:
archives:
- format_overrides:
- goos: windows
- format: zip
+ formats: [zip]
brews:
-
name: icnsify
@@ -29,7 +30,7 @@ scoops:
checksum:
name_template: "checksums.txt"
snapshot:
- name_template: "{{ .Tag }}-next"
+ version_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters: