From 0225eb4a08d6b79cc3b8fedbbb8a44fc611462e6 Mon Sep 17 00:00:00 2001 From: Igor Lins e Silva <4753812+igorls@users.noreply.github.com> Date: Fri, 5 Jun 2026 22:30:05 -0300 Subject: [PATCH] docs: bump version on develop, not directly on main Address review on #1698: committing the version bump straight to main bypasses branch protection and drifts develop behind. Bump on develop first; it reaches main via the develop -> main merge. --- docs/RELEASING.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/RELEASING.md b/docs/RELEASING.md index 722e5c5..afb1a56 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -61,14 +61,14 @@ Done once per project; both steps require PyPI owner / GitHub admin rights. ### Cutting a release -1. Land everything for the release on `develop`, then merge `develop → main`. +1. Bump the version in **all five** sources on `develop` so `version-guard.yml` + stays green (it is the single source of truth at `mempalace/version.py`, + mirrored in `pyproject.toml`, `.claude-plugin/marketplace.json`, + `.claude-plugin/plugin.json`, and `.codex-plugin/plugin.json`). +2. Land everything for the release on `develop`, then merge `develop → main`. Releases publish **only from `main`** — the workflow refuses any tag whose - commit is not an ancestor of `main`. -2. Bump the version in **all five** sources so `version-guard.yml` stays green - (it is the single source of truth at `mempalace/version.py`, mirrored in - `pyproject.toml`, `.claude-plugin/marketplace.json`, - `.claude-plugin/plugin.json`, and `.codex-plugin/plugin.json`). Commit to - `main`. + commit is not an ancestor of `main`. Don't commit the bump directly to + `main`: it bypasses branch protection and leaves `develop` behind. 3. Run the **entry-point alignment check** above. 4. On GitHub, **Releases → Draft a new release**: - **Target:** `main`