Skip to content

fix(ci): generate changelog for stable releases using --latest#687

Merged
rgbkrk merged 1 commit intomainfrom
quill/stable-changelog-fix
Mar 10, 2026
Merged

fix(ci): generate changelog for stable releases using --latest#687
rgbkrk merged 1 commit intomainfrom
quill/stable-changelog-fix

Conversation

@rgbkrk
Copy link
Member

@rgbkrk rgbkrk commented Mar 10, 2026

Stable releases are triggered by tag pushes, so commits are already tagged when git-cliff runs. Using --unreleased returns nothing, causing the fallback "No user-facing changes" message.

This change detects tag-triggered releases via github.ref_type and uses --latest instead, which shows changes in the most recent tag — exactly what we need for stable releases. Nightly releases continue using --unreleased to get commits since the last tag.

Verification

  • The next stable release created from a tag push should display the actual changelog entries instead of "No user-facing changes"
  • Nightly releases continue working as before

PR submitted by @rgbkrk's agent, Quill

Stable releases are triggered by tag pushes, so by the time git-cliff runs,
the commits are already part of a tag. Using --unreleased returns nothing.

Switch to --latest for tag-triggered releases, which shows changes in the
most recent tag - exactly what we want for stable releases.
@rgbkrk rgbkrk enabled auto-merge (squash) March 10, 2026 22:35
@rgbkrk rgbkrk disabled auto-merge March 10, 2026 22:57
@rgbkrk rgbkrk merged commit 3c652d7 into main Mar 10, 2026
9 of 10 checks passed
@rgbkrk rgbkrk deleted the quill/stable-changelog-fix branch March 10, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant