Repository navigation
Announce every change since the previous Stable release - #161
Merged
Merged
Conversation
Stable owners update from the previous Stable release, but the Discord announcement held only the notes of the new version. The 1.4.7 announcement therefore left out 1.4.1 to 1.4.6. stable-notes.mjs finds the previous Stable release on GitHub and joins the published notes of every version after it, up to the new Stable, newest first. The promotion and the announcement recovery both use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 49 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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
Stable owners update from the previous Stable release, but the Discord announcement posted only the body of the new release. The 1.4.7 announcement therefore showed only the 1.4.7 notes and left out 1.4.1 to 1.4.6.
This change:
scripts/release/stable-notes.mjs. It reads the published releases ofHQBase/hqbase, finds the newest Stable release before the announced version, and joins the notes of every published version after it, up to the announced version, newest first. Each version gets a## X.Y.Zheading, after aChanges since HQBase X.Y.Z:line. Drafts and thenightlypointer release are left out. Versions compare by number.promote-stable.ymlandannounce-stable.yml, in place ofgh release view --json body.notify-discord.mjsalready splits long notes into several messages.The documentation is in HQBase/hqbase-site#69.
Tests
stable-notes.test.mjs: the notes since the previous Stable release, newest first, without drafts, thenightlypointer, or later Nightly versions; numeric version order (1.4.10 after 1.4.9); the first Stable release with no earlier Stable; refusal of a missing or prerelease version; refusal of empty notes; and both workflows use the script beforenotify-discord.mjs.pnpm checkpassed: 1073 unit tests (2 skipped) and 232 integration tests.pnpm deploy:dry-runpassed.User-facing summary for the next Nightly: Stable release announcements on Discord now list every change since the previous Stable release.
🤖 Generated with Claude Code