ci: auto-generate changelog

This commit is contained in:
Robert Kaussow 2021-03-23 20:30:40 +01:00
parent 7db60fc65c
commit f6bebbeb60
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 17 additions and 1 deletions

View File

@ -169,6 +169,15 @@ local PipelineBuildPackage = {
'git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}',
],
},
{
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-github',
image: 'plugins/github-release',

View File

@ -186,6 +186,13 @@ steps:
- 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
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-github
image: plugins/github-release
settings:
@ -644,6 +651,6 @@ depends_on:
---
kind: signature
hmac: 321540ba92e4abe200e4c4ad456091b37bbbbf08b3edb5c9f3124471f77c206d
hmac: 06bbfd2497f11781d23b69ef14c3989d773e1222e21adc4031c2b91fdb2775d1
...