This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user