refactor(workflows): rename changelog file for consistency
All checks were successful
Test http-kernel / Run Tests (pull_request) Successful in 10s
Auto Changelog & Release / detect-version-change (push) Successful in 7s
Auto Changelog & Release / release (push) Has been skipped
Auto Changelog & Release / changelog-only (push) Successful in 12s

- Rename `CHANGELOG.md` to `CHANGELOG` in workflows
- Update related commands and references for consistency
This commit is contained in:
2025-05-08 19:48:12 +02:00
committed by 0xMax42
parent 92f09e6e60
commit b9d25f23fc
2 changed files with 7 additions and 7 deletions

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.md
run: git-cliff -c cliff.toml -o CHANGELOG
- name: Commit updated CHANGELOG.md
- name: Commit updated CHANGELOG
run: |
git add CHANGELOG.md
git add CHANGELOG
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.md
git-cliff -c cliff.toml -t "v$VERSION" -o CHANGELOG
BODY=$(mktemp)
ESCAPED_VERSION=$(echo "$VERSION" | sed 's/\./\\./g')
@@ -136,14 +136,14 @@ jobs:
print_flag=0
}
print_flag
' CHANGELOG.md > "$BODY"
' CHANGELOG > "$BODY"
echo "changelog_body_path=$BODY" >> $GITHUB_OUTPUT
- name: Commit updated CHANGELOG.md
- name: Commit updated CHANGELOG
run: |
git add CHANGELOG.md
git add CHANGELOG
if git diff --cached --quiet; then
echo "No changes to commit"
else