From 657eb8f3d98c2a2566c6bc6c4242d7a165cf44da Mon Sep 17 00:00:00 2001 From: Fabian Holler Date: Mon, 15 Jul 2024 18:32:02 +0200 Subject: [PATCH] goreleaser: update config to version 2 format - add version key - remove unsupported changelog.skip key --- .goreleaser.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3d171d75..fe8cf94e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,6 +1,8 @@ --- # yaml-language-server: $schema=https://goreleaser.com/static/schema.json +version: 2 + release: draft: true prerelease: auto @@ -25,6 +27,7 @@ builds: - amd64 - arm64 mod_timestamp: '{{ .CommitTimestamp }}' + archives: - format: tar.xz name_template: "{{ .ProjectName }}-{{ .Os }}_{{ .Arch }}-{{ .Version }}" @@ -39,6 +42,7 @@ archives: checksum: name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS" algorithm: sha256 + signs: - artifacts: checksum args: @@ -50,8 +54,8 @@ signs: - "${artifact}" snapshot: name_template: "{{ incpatch .Version }}-dev" + changelog: - skip: false sort: asc filters: exclude: