Repository navigation
fix: insert auto-release CHANGELOG entries above the first version heading - #13
Merged
Merged
Conversation
…ading
The step put each new section after the first line starting with '# ', on the assumption that it was a '# Changelog' title. In conventional-changelog files a major release heading ('# [2.0.0](...)') is also an H1, so new entries landed inside that release's notes (range-proof 2.0.2 to 2.0.5, ring-sig 3.0.4, nostr-attestations 3.0.1). Version headings now use the changelog-extract rule (1-3 #s and a dotted x.y.z). A last line without a trailing newline is no longer dropped.
This was referenced Oct 18, 2026
TheCryptoDonkey
added a commit
to forgesworn/range-proof
that referenced
this pull request
Oct 18, 2026
anvil's auto-release inserted each new section after the first '# ' line, which here was a major release heading, so the entries landed inside that release's notes. Lines are moved only; nothing is added or removed. forgesworn/anvil#13 fixes the insertion. Co-authored-by: TheCryptoDonkey <TheCryptoDonkey@users.noreply.github.com>
TheCryptoDonkey
added a commit
to forgesworn/ring-sig
that referenced
this pull request
Oct 18, 2026
anvil's auto-release inserted each new section after the first '# ' line, which here was a major release heading, so the entries landed inside that release's notes. Lines are moved only; nothing is added or removed. forgesworn/anvil#13 fixes the insertion. Co-authored-by: TheCryptoDonkey <TheCryptoDonkey@users.noreply.github.com>
TheCryptoDonkey
added a commit
to forgesworn/nostr-attestations
that referenced
this pull request
Oct 18, 2026
anvil's auto-release inserted each new section after the first '# ' line, which here was a major release heading, so the entries landed inside that release's notes. Lines are moved only; nothing is added or removed. forgesworn/anvil#13 fixes the insertion. Co-authored-by: TheCryptoDonkey <TheCryptoDonkey@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
auto-release.yml put each new CHANGELOG section after the first line starting with
#, on the assumption it was a# Changelogtitle. In conventional-changelog files a major release heading (# [2.0.0](...)) is also an H1, so new entries landed inside that release's notes. Seen in range-proof (2.0.2 to 2.0.5 under 2.0.0), ring-sig (3.0.4 under 3.0.0) and nostr-attestations (3.0.1 under 3.0.0).changelog-extract.sh(1-3#s and a dotted x.y.z). With no version heading it goes after the first H1 title, or at the top when there is none.test/auto-release-changelog.batsruns the step's ownrun:block from the workflow file against eight changelog shapes. Four of them fail on the old step.Consumers on
@v0pick this up when it releases.