Skip to content

Commit

Permalink
goreleaser: update config to version 2 format
Browse files Browse the repository at this point in the history
- add version key
- remove unsupported changelog.skip key
  • Loading branch information
fho committed Jul 15, 2024
1 parent 3d5d3a5 commit 657eb8f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json

version: 2

release:
draft: true
prerelease: auto
Expand All @@ -25,6 +27,7 @@ builds:
- amd64
- arm64
mod_timestamp: '{{ .CommitTimestamp }}'

archives:
- format: tar.xz
name_template: "{{ .ProjectName }}-{{ .Os }}_{{ .Arch }}-{{ .Version }}"
Expand All @@ -39,6 +42,7 @@ archives:
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
algorithm: sha256

signs:
- artifacts: checksum
args:
Expand All @@ -50,8 +54,8 @@ signs:
- "${artifact}"
snapshot:
name_template: "{{ incpatch .Version }}-dev"

changelog:
skip: false
sort: asc
filters:
exclude:
Expand Down

0 comments on commit 657eb8f

Please sign in to comment.