fix(ci): generate release notes from commits since previous tag #47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/release-notes-since-prev-tag"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The
create-releaseworkflow built the release body fromgit logbetween the previous tag andHEAD, but resolved the previous tag withgit describe --tags --abbrev=0 $"($tag)^". The tag being released does not exist yet when the job runs (the workflow itself creates it later via the Forgejo API), so thedescribefailed, theelsebranch ran, andgit log --onelinewith no range emitted the entire commit history. Every release therefore listed all commits ever made instead of just those since the previous release.Fix
Resolve the previous tag from
HEAD^instead of the not-yet-created$"($tag)^", so the changelog spans only<prev_tag>..HEAD. The first-release path (no prior tag) still falls through to the fullgit log.This matches the fix already shipped in sibling repos (da-info, da-os, eform, explorer-bookmarks, help-dashboard, icanhazrust, link-card, auto-buyer). The canonical template in the governance repo is tracked separately (GOV-1).