diff --git a/.drone.jsonnet b/.drone.jsonnet index 22a0936..143ddc7 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -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', diff --git a/.drone.yml b/.drone.yml index 1ce5d2f..e939caa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ...