Conversation
- scripts/release.sh: one-command script that creates the release branch, bumps version, updates CHANGELOG, runs uv sync, and opens a PR - .github/workflows/auto-release.yaml: post-merge workflow that creates the git tag and GitHub Release when a release/v* branch is merged, triggering the existing wheel build and PyPI publish pipeline - CHANGELOG.md: restore [Unreleased] sentinel heading - CLAUDE.md, CONTRIBUTING.md: simplify release process docs to 3 steps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add .claude/commands/release.md: slash command that infers the next semver bump from [Unreleased] headings, confirms with the user, runs scripts/release.sh, and summarises post-merge steps including the GitHub Actions manual approval gate - Reframe CLAUDE.md release section so [Unreleased] is described as an ongoing per-PR responsibility, consistent with CONTRIBUTING.md and the PR template checklist Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lint config - release.sh now refuses to proceed if [Unreleased] section is empty, matching the behaviour described in docs - Add CHANGELOG entry for the release automation tooling (#68) - Enable MD024 allow_different_nesting so repeated sub-headings across CHANGELOG versions don't trigger markdownlint warnings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds automated tooling and documentation for a PR-based release workflow, including a maintainer script and a GitHub Actions workflow that creates tags/GitHub Releases when release/v* branches are merged to main.
Changes:
- Add
scripts/release.shto createrelease/vX.Y.Zbranches, bump version, updateCHANGELOG.md, and open a release PR. - Add
.github/workflows/auto-release.yamlto tag and create a GitHub Release after a release PR merge. - Update release documentation and changelog/lint configuration to support the new workflow.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/release.sh | New release preparation script (branching, version bump, changelog move, lock update, PR creation). |
| .github/workflows/auto-release.yaml | New workflow to create a git tag and GitHub Release when a release/v* PR is merged. |
| .claude/commands/release.md | New Claude command to guide/execute the release workflow. |
| CONTRIBUTING.md | Updated maintainer-facing release instructions to use the new automation. |
| CLAUDE.md | Updated release process documentation to match the automated workflow. |
| CHANGELOG.md | Adds [Unreleased] section with entry describing this PR. |
| .markdownlint.json | Adjust markdownlint settings to avoid MD024 warnings in changelog structure. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- release.sh: add |\Z to both regex lookaheads so they handle [Unreleased] being the last section in CHANGELOG.md - release.md: align empty-section description with script behaviour (non-whitespace content, not bullet points specifically) - release.md: allow both vX.Y.Z and X.Y.Z as valid version arguments - release.md: fix branch name in remediation hint to use release/v<VERSION> Co-Authored-By: Claude Sonnet 4.6 <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.
Summary
scripts/release.shto automate the release preparation workflow (create branch, bump version, update CHANGELOG, open PR).github/workflows/auto-release.yamlto automatically create the git tag and GitHub Release when arelease/v*branch is merged tomain/releaseClaude Code skill (.claude/commands/release.md) for AI-assisted release orchestrationCLAUDE.mdandCONTRIBUTING.mdrelease docs to reflect the new workflowFixes included
release.shnow fails early if the[Unreleased]CHANGELOG section is empty (matches documented behaviour)CHANGELOG.md: add[Unreleased]section with entry for this PR.markdownlint.json: enableallow_different_nestingso repeated sub-headings across CHANGELOG versions don't trigger MD024 warningsTest plan
scripts/release.shlogic (precondition checks, version bump, CHANGELOG update, PR creation).github/workflows/auto-release.yaml(trigger condition, tag creation, release notes extraction)release.shexits non-zero when[Unreleased]section is empty🤖 Generated with Claude Code