Only extract changelog for new releases
Release / release (push) Successful in 3s

This commit is contained in:
2026-08-30 14:31:02 +01:00
parent 23613d16b7
commit 0060c51c12
+6 -2
View File
@@ -35,9 +35,10 @@ jobs:
echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Extract version changelog
if: steps.tag.outputs.version
id: changelog
run: |
VERSION=$(cat VERSION | tr -d '[:space:]') # read version and trim whitespace
VERSION="${{ steps.tag.outputs.version }}"
CHANGELOG_FILE=$(python3 scripts/get_changelog.py $VERSION)
if [[ $? != 0 ]]; then
@@ -91,4 +92,7 @@ jobs:
- name: Cleanup
if: steps.tag.outputs.version
run: rm -rf dist/*
run: |
CHANGELOG_FILE="${{ steps.changelog.outputs.changelog_file }}"
rm -rf dist/*
rm -f "$CHANGELOG_FILE"