From f246b1d2808f3cfcd8eaaeb061a597f1fb4de003 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 17 Oct 2023 14:03:25 +0200 Subject: [PATCH] ci: fix changelog generation for tag events (#72) --- .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