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: