Repository navigation
Start the release notes from the previous release of the same series - #5
Merged
Merged
Conversation
gh release create --generate-notes starts the notes from the latest release of the repository. In a repository that also releases charts, that is often a chart release (<chart>-X.Y.Z), so the notes of 1.0.1-PRE-45 listed the pull requests since decentralized-iam-2.1.29. github-release.sh now passes --notes-start-tag with the highest <prefix>X.Y.Z tag below the version, and leaves it out when there is none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mortega5
approved these changes
Nov 10, 2026
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.
Summary
gh release create --generate-notesstarts the notes from the latest release of the repository. In a repository that also releases charts, that is often a chart release (<chart>-X.Y.Z): the pre-release1.0.1-PRE-45of decentralized-iam listed the pull requests sincedecentralized-iam-2.1.29, which have nothing to do with it.github-release.shnow passes--notes-start-tagwith the previous release of the same series: the highest<prefix>X.Y.Ztag below the version, where the prefix is whatever precedes the version number (vinv1.2.3, nothing in1.2.3). Tags of other series, pre-releases and moving major tags are ignored. When there is no previous release, nothing is passed and GitHub picks the start, as before.Not a breaking change.
Testing
1.0.1-PRE-45→1.0.0, ignoring a chart tag), for a release compared numerically (11.39.1→11.39.0, not11.9.0), for a prefixed version (v1.2.1→v1.2.0, ignoringv1), and without a previous release.