ci: auto-generate changelog (#10)

This commit is contained in:
Robert Kaussow
2021-02-15 10:46:58 +01:00
committed by GitHub
parent b0a0e149b3
commit d32a1ee2d0
6 changed files with 66 additions and 12 deletions

View File

@@ -114,6 +114,15 @@ local PipelineBuildBinaries = {
'cd release/ && sha256sum * > sha256sum.txt',
],
},
{
name: 'changelog',
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: 'publish',
image: 'plugins/github-release',