Repository navigation
CI: nightly release notes list only that release's changes - #2
Closed
amrikarisma wants to merge 1 commit into
Closed
amrikarisma wants to merge 1 commit into
amrikarisma wants to merge 1 commit into
Conversation
Each release repeated the whole [Unreleased] section of CHANGELOG.md, which is never cut, so every one showed every change ever made: about 12000 characters, identical across releases built from the same commit. The notes now hold the CHANGELOG lines added since the previous nightly tag, under their own headings, or the commits when the changelog did not change, or a line saying the source is the same.
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.
Problem
Every nightly release repeats the whole
[Unreleased]section ofCHANGELOG.md. That section is never cut, so each release shows every change ever made: about 12,000 characters, identical across releases built from the same commit.Change
.github/scripts/release_changelog.shwrites the notes for one release:CHANGELOG.mdlines added since the previous nightly tag, under their own headingsThe release job now checks out with
fetch-depth: 0, because it needs the earlier tags.Testing
Run locally against real tags:
2026-10-312026-11-01No changes: same source as 2026-10-31.Also checked: a rerun of the same tag, a tag with no earlier tag, and a release with commits but no changelog entry.
The workflow itself has not run yet. The first scheduled nightly after merge is the real test.