chore: improve generated changelog (#25)

This commit is contained in:
Robert Kaussow
2021-05-09 23:46:51 +02:00
committed by GitHub
parent 26339083ac
commit 7148b3d306
4 changed files with 24 additions and 6 deletions

View File

@@ -116,14 +116,21 @@ local PipelineBuildBinaries = {
],
},
{
name: 'changelog',
name: 'changelog-generate',
image: 'thegeeklab/git-chglog',
commands: [
'git fetch -tq',
'git-chglog --no-color --no-emoji ${DRONE_TAG:---next-tag unreleased unreleased}',
'git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}',
],
},
{
name: 'changelog-format',
image: 'thegeeklab/alpine-tools',
commands: [
'prettier CHANGELOG.md',
'prettier -w CHANGELOG.md',
],
},
{
name: 'publish',
image: 'plugins/github-release',