From 0902bb896fa030abbaf845f7fd94256c39bc5379 Mon Sep 17 00:00:00 2001 From: studiokaiji Date: Sun, 30 Nov 2025 15:01:14 +0900 Subject: [PATCH] Fix .goreleaser.yaml formatting and update version template --- hostr/.goreleaser.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hostr/.goreleaser.yaml b/hostr/.goreleaser.yaml index 3c8c1a5..c55ff70 100644 --- a/hostr/.goreleaser.yaml +++ b/hostr/.goreleaser.yaml @@ -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: