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