fix(ci): pass tag range to git-cliff so release body covers current release only #74

Closed
sarman wants to merge 1 commits from fix/changelog-range-scope into master
Owner

git-cliff's --tag flag sets a version label, it does not restrict which
commits are scanned. Without a positional range argument, git-cliff walks
the entire commit history and generates every historical release section,
producing a release body that contains the full changelog.

Pass "${PREV_TAG}..${CURRENT_TAG}" as the range argument so git-cliff only
processes commits introduced in the current release. The full CHANGELOG.md
generation is unchanged (no range — intentional, it covers all tags).

git-cliff's --tag flag sets a version label, it does not restrict which commits are scanned. Without a positional range argument, git-cliff walks the entire commit history and generates every historical release section, producing a release body that contains the full changelog. Pass "${PREV_TAG}..${CURRENT_TAG}" as the range argument so git-cliff only processes commits introduced in the current release. The full CHANGELOG.md generation is unchanged (no range — intentional, it covers all tags).
sarman added 1 commit 2026-06-07 02:07:39 +00:00
fix(ci): pass tag range to git-cliff so release body covers current release only
Some checks failed
PR Review Automation / review (pull_request) Has been cancelled
Test / frontend-typecheck (pull_request) Successful in 1m23s
Test / frontend-tests (pull_request) Successful in 1m24s
Test / rust-fmt-check (pull_request) Successful in 14m43s
Test / rust-clippy (pull_request) Successful in 17m58s
Test / rust-tests (pull_request) Successful in 19m40s
b94f96d38f
git-cliff's --tag flag sets a version label, it does not restrict which
commits are scanned. Without a positional range argument, git-cliff walks
the entire commit history and generates every historical release section,
producing a release body that contains the full changelog.

Pass "${PREV_TAG}..${CURRENT_TAG}" as the range argument so git-cliff only
processes commits introduced in the current release. The full CHANGELOG.md
generation is unchanged (no range — intentional, it covers all tags).
sarman closed this pull request 2026-06-14 06:44:19 +00:00
Some checks failed
PR Review Automation / review (pull_request) Has been cancelled
Test / frontend-typecheck (pull_request) Successful in 1m23s
Test / frontend-tests (pull_request) Successful in 1m24s
Test / rust-fmt-check (pull_request) Successful in 14m43s
Test / rust-clippy (pull_request) Successful in 17m58s
Test / rust-tests (pull_request) Successful in 19m40s

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sarman/tftsr-devops_investigation#74
No description provided.