Skip to content

DO NOT MERGE: demo of the Release metadata check (#503) - #504

Closed
tobyhede wants to merge 3 commits into
mainfrom
claude/demo-release-metadata-check
Closed

tobyhede wants to merge 3 commits into
mainfrom
claude/demo-release-metadata-check

Conversation

@tobyhede

@tobyhede tobyhede commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

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 metadata check should fail. A second commit then adds the ## [3.0.2] section, so the check should pass.


Generated by Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants