diff --git a/.gitignore b/.gitignore index f02fdf4..856fe94 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ /dist /.directory matchstick + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a859bd4..5e687f8 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,6 +1,8 @@ # Generated by github.com/arran4/go-subcommand/cmd/gosubc # .goreleaser.yml +version: 2 + before: hooks: - go mod tidy @@ -18,11 +20,12 @@ builds: - arm64 archives: - - format: tar.gz - files: - - LICENSE - - README.md - - format: zip + - formats: + - tar.gz + format_overrides: + - goos: windows + formats: + - zip files: - LICENSE - README.md @@ -44,7 +47,7 @@ checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next" changelog: sort: asc