Skip to content

Commit

Permalink
chore(ci): improve changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Nov 29, 2021
1 parent 8f80d06 commit 1de9194
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -15,3 +15,4 @@ www/site
testdata/acceptance/tmp/
completions/
.task/
cosign.*
19 changes: 18 additions & 1 deletion .goreleaser.yml
Expand Up @@ -6,6 +6,7 @@ before:
- go mod tidy
- ./scripts/completions.sh
- wget -c https://raw.githubusercontent.com/goreleaser/goreleaser/master/cosign.key -O /tmp/goreleaser_cosign.key
- wget -c https://raw.githubusercontent.com/goreleaser/goreleaser/master/cosign.pub -O /tmp/goreleaser_cosign.pub

gomod:
proxy: true
Expand Down Expand Up @@ -140,7 +141,6 @@ nfpms:
- src: ./completions/nfpm.zsh
dst: /usr/local/share/zsh/site-functions/_nfpm


furies:
- account: goreleaser

Expand All @@ -164,18 +164,35 @@ changelog:
- '^test:'
- '^chore'
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: 'New Features'
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 10
- title: Other work
order: 999

checksum:
name_template: 'checksums.txt'

release:
extra_files:
- glob: cosign.pub
footer: |
**Full Changelog**: https://github.com/goreleaser/nfpm/compare/{{ .PreviousTag }}...{{ .Tag }}
---
- Check out [GoReleaser](https://goreleaser.com): it integrates nFPM to the release pipeline of your Go projects.
milestones:
- close: true

announce:
skip: "{{gt .Patch 0}}"
twitter:
Expand Down

0 comments on commit 1de9194

Please sign in to comment.