From aa055292aebd10c67fb6b7f7a5cc46aa1e5efe31 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 17 Oct 2023 14:03:41 +0200 Subject: [PATCH] ci: fix changelog generation for tag events (#47) --- .woodpecker/build-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index 2a08e27..8415e0c 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -22,8 +22,8 @@ steps: commands: - git fetch --depth=2147483647 - git sv current-version - - git sv release-notes - - git sv release-notes -o CHANGELOG.md + - git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md + - cat CHANGELOG.md publish-github: image: docker.io/plugins/github-release