Repository navigation
Conversation
The version/changelog rule was only checked after a tag existed, in the release workflow's verify-release job, so a mismatched tag reached a failed publish before anyone noticed. Move the rule into one script and run it on pull requests too: a PR that changes the workspace version fails until CHANGELOG.md has a '## [X.Y.Z]' heading for it. PRs that leave the version alone pass without checking anything. The release workflow and `mise run release` call the same script, so the three can't drift. The script reads the version from [workspace.package] rather than the first `version =` line, and only accepts the heading at the start of a line. This prepares for release-plz, whose release PR bumps the version while the changelog stays hand-written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Throwaway commit to show the Release metadata check failing on a version bump without a changelog section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Requested by Toby
Throwaway PR, stacked on #503, that will be closed without merging.
It bumps the workspace version to 3.0.2 without a changelog section, so the
Release metadatacheck should fail. A second commit then adds the## [3.0.2]section, so the check should pass.Generated by Claude Code