chore(workflows): update changelog file extension to .md and revert b9d25f23fc
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 5s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 5s

This commit is contained in:
2025-05-08 20:19:40 +02:00
parent 4f2b65049f
commit a88b4d112f

View File

@@ -66,11 +66,11 @@ jobs:
cargo install git-cliff --version "${{ steps.cliff_version.outputs.version }}" --features gitea
- name: Generate unreleased changelog
run: git-cliff -c cliff.toml -o CHANGELOG
run: git-cliff -c cliff.toml -o CHANGELOG.md
- name: Commit updated CHANGELOG
run: |
git add CHANGELOG
git add CHANGELOG.md
if git diff --cached --quiet; then
echo "No changes to commit"
else
@@ -118,7 +118,7 @@ jobs:
id: generate-changelog
run: |
VERSION=${{ steps.version.outputs.value }}
git-cliff -c cliff.toml -t "v$VERSION" -o CHANGELOG
git-cliff -c cliff.toml -t "v$VERSION" -o CHANGELOG.md
BODY=$(mktemp)
ESCAPED_VERSION=$(echo "$VERSION" | sed 's/\./\\./g')
@@ -136,14 +136,14 @@ jobs:
print_flag=0
}
print_flag
' CHANGELOG > "$BODY"
' CHANGELOG.md > "$BODY"
echo "changelog_body_path=$BODY" >> $GITHUB_OUTPUT
- name: Commit updated CHANGELOG
run: |
git add CHANGELOG
git add CHANGELOG.md
if git diff --cached --quiet; then
echo "No changes to commit"
else