diff --git a/.drone.yml b/.drone.yml index 299fa97..4f85338 100644 --- a/.drone.yml +++ b/.drone.yml @@ -73,6 +73,15 @@ steps: depends_on: - dryrun +- 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} + depends_on: + - tags + - name: publish-dockerhub image: thegeeklab/drone-docker-buildx:20 settings: @@ -87,7 +96,7 @@ steps: - refs/heads/main - refs/tags/** depends_on: - - tags + - changelog - name: publish-quay image: thegeeklab/drone-docker-buildx:20 @@ -104,7 +113,7 @@ steps: - refs/heads/main - refs/tags/** depends_on: - - tags + - changelog - name: publish-gitea image: plugins/gitea-release @@ -197,6 +206,6 @@ depends_on: --- kind: signature -hmac: f10893b34850c8b1edcb705709f1bcd661a1674b55deb31cf6799298b379b957 +hmac: 657e5b191f868dcd0863820de29c25538a4e1d0e3a1ff2db9ed182f9a27397a5 ...