From b3004b6be65f0612d2ba0c3b46f7fbe33bb67b6d Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 17 Oct 2023 10:27:56 +0200 Subject: [PATCH] ci: fix changelog generation for tag events (#8) --- .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