Skip to content

ci(release): prepare Release Please migration - #21

Merged
Andreas-Garcia merged 1 commit into
mainfrom
feature/release-please-cutover
Nov 25, 2026
Merged

Andreas-Garcia merged 1 commit into
mainfrom
feature/release-please-cutover

Conversation

@Andreas-Garcia

Copy link
Copy Markdown
Member

Summary

Prepare the Release Please migration without releasing: mark the version pins, add the PR title check and a suspended release-please job, and replace the manual bump tooling with a read-only sync check. Version stays 5.2.1, no tag, no release.

Changes

  • Workflows: add pr-title.yml (same caller as agent-config-public #120) and a release-please job after release-tag, suspended with if: github.event_name == 'workflow_dispatch' (the workflow only runs on push). release-tag stays on v6.5.0.
  • Version markers: seven pins (README 1, migration-guide 2, reusable-workflows 3, Copier template 1) carry x-release-please-version; the template uses {# … #} right after the pin so the rendered lint.yml has no comment or trailing space.
  • Release policy: mirrors emptied (the validator requires the key). STANDARDS_VERSION stays canonical. The manifest and config come with the activation PR, because their presence while the job is suspended would classify the repository as auto_merge.
  • Removed: .bumpversion.toml, standards_release_bump.sh, finalize_standards_changelog.py, publish_github_release.py and their test. CI already owns tagging and publication.
  • Added: scripts/tests/test_release_version_sync.py checks that marked pins equal STANDARDS_VERSION and that every current-version line is marked; wired into agent-guidance.yml.
  • Docs/rules: docs/versioning.md, README, scoped rules (regenerated with the pinned engine), ci commit type, CHANGELOG [Unreleased].

Test plan

  • actionlint and git diff --check: pass.
  • Adapter render/check with the pinned engine (1e199e2): pass.
  • python3 -m unittest discover -s scripts/tests -p "test_release_*.py": pass; fails when a marker is removed (verified).
  • Copier render with reusable_lint=true: pin is exactly @v5.2.1, no marker, no trailing space; pre-commit run --all-files passes on the render.
  • Shared validator v6.5.0 on c63cfa9..26375de: {"release": false}.
  • CI on this PR.

Screenshots

N/A.

Risk

Change, deep: release automation and a removed maintainer path. No version bump, so merging creates no tag or release. Until the activation PR, a manual release means editing STANDARDS_VERSION and the marked pins by hand (documented, enforced by the new test). Consumers are unaffected: the rendered template is unchanged.

How to revert

Revert the squash commit; this restores the bump scripts and .bumpversion.toml.

Deployment notes

No deployment. Follow-up, in order: central enrollment in github-config (release_pr: true, pr-title / check required), add the repository to the btmt-release-pr installation and the two Actions selections, then the activation PR (manifest 5.2.1, config with version-file: STANDARDS_VERSION, generated changelog). Tracked in github-config #59 and #88.

🤖 Generated with Claude Code

Mark the standards pins for Release Please, add the PR title check and a
suspended release-please job, and replace the manual bump tooling with a
read-only version marker check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Andreas-Garcia
Andreas-Garcia merged commit f54e74e into main Nov 25, 2026
8 checks passed
@Andreas-Garcia
Andreas-Garcia deleted the feature/release-please-cutover branch November 25, 2026 13:46
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.

1 participant