|
1 | 1 | --- |
2 | 2 | name: release-openclaw-maintainer |
3 | | -description: Prepare or verify OpenClaw stable/beta releases, changelogs, release notes, publish commands, and artifacts. |
| 3 | +description: Prepare or verify OpenClaw stable, beta, and extended-stable releases, including backport discovery, changelogs, release notes, publish commands, and artifacts. |
4 | 4 | --- |
5 | 5 |
|
6 | 6 | # OpenClaw Release Maintainer |
7 | 7 |
|
8 | | -Use this skill for release and publish-time workflow. Load `$release-private` if it exists before resolving Peter-owned credential locators or private host topology. Keep ordinary development changes and GHSA-specific advisory work outside this skill. |
| 8 | +Use this skill for release and publish-time workflow, including preparing the |
| 9 | +approved backport set for an extended-stable maintenance release. Load |
| 10 | +`$release-private` if it exists before resolving Peter-owned credential |
| 11 | +locators or private host topology. Keep ordinary development changes and |
| 12 | +GHSA-specific advisory work outside this skill. |
9 | 13 |
|
10 | 14 | ## Respect release guardrails |
11 | 15 |
|
@@ -138,9 +142,64 @@ prepare-run <PR>`. |
138 | 142 | - When asked to announce on X, use `~/Projects/bird/bird` and follow the |
139 | 143 | release tweet style below. |
140 | 144 |
|
| 145 | +## Prepare extended-stable backports |
| 146 | + |
| 147 | +When asked to create the initial `.33` extended-stable line or a later |
| 148 | +maintenance patch, read |
| 149 | +`references/extended-stable-backports.md` and follow it before version, tag, or |
| 150 | +publication work. Treat backport discovery and preparation as an ability of |
| 151 | +this release skill, not as a separate release workflow. |
| 152 | + |
| 153 | +The backport ability owns the complete mainline inventory, private-security |
| 154 | +reconciliation, candidate decisions, maintainer approval, coordinated staging |
| 155 | +PR, and proof handoff. After that PR lands, use the dedicated npm-only sequence |
| 156 | +below. Never route `.33+` through the regular beta/stable release sequence. |
| 157 | + |
| 158 | +## Publish extended-stable releases |
| 159 | + |
| 160 | +Use this path only for the trailing completed month's `.33+` line. Treat |
| 161 | +`docs/reference/RELEASING.md`, |
| 162 | +`scripts/openclaw-npm-extended-stable-release.mjs`, and the release workflows |
| 163 | +on pinned current `main` as the exact command and validation contract. |
| 164 | + |
| 165 | +1. Check out the canonical `extended-stable/YYYY.M.33` branch after the |
| 166 | + approved backport PR lands. Require its tip, root package version, every |
| 167 | + publishable official plugin version, and intended immutable `vYYYY.M.P` tag |
| 168 | + to identify one exact release commit. |
| 169 | +2. Create and push `vYYYY.M.P` at that exact branch tip only after version prep |
| 170 | + and focused backport proof are complete. |
| 171 | +3. Dispatch `openclaw-npm-release.yml` with `preflight_only=true` and |
| 172 | + `npm_dist_tag=extended-stable` from the canonical branch. Save the successful |
| 173 | + npm preflight run ID. |
| 174 | +4. Dispatch `full-release-validation.yml` from the same branch with |
| 175 | + `ref=extended-stable/YYYY.M.33` and `release_profile=stable`. Save the |
| 176 | + successful exact-head validation run ID. |
| 177 | +5. Dispatch `plugin-npm-release.yml` from the same branch with |
| 178 | + `publish_scope=all-publishable`, the full release SHA as `ref`, and |
| 179 | + `npm_dist_tag=extended-stable`. Require complete exact-version and selector |
| 180 | + readback, then save the successful plugin run ID. |
| 181 | +6. Dispatch the real `openclaw-npm-release.yml` publish from the same branch |
| 182 | + with the intended tag, `npm_dist_tag=extended-stable`, and all three saved |
| 183 | + run IDs. The workflow must publish the exact prepared core tarball and prove |
| 184 | + the referenced runs match the canonical branch and release SHA. |
| 185 | +7. Independently verify the exact core package, every official plugin package, |
| 186 | + and all `extended-stable` selectors. If only the core selector readback |
| 187 | + fails, use the `openclaw` repair command generated by the core workflow. If |
| 188 | + an official-plugin selector is missing or stale for an already-published |
| 189 | + version, use the approved credential-isolated release tooling for manual |
| 190 | + plugin tag repair; the OIDC source workflow cannot mutate that tag. Never |
| 191 | + republish an immutable version. |
| 192 | +8. Do not create a GitHub Release or publish macOS, Windows, Docker, mobile, |
| 193 | + website, ClawHub, or private dist-tag artifacts from this path. |
| 194 | + |
141 | 195 | ## Keep release channel naming aligned |
142 | 196 |
|
143 | | -- `stable`: tagged releases only, published to npm `beta` by default; operators may target npm `latest` explicitly or promote later |
| 197 | +- `stable`: user updates resolve npm `latest`; tagged regular releases publish |
| 198 | + to npm `beta` by default, then operators may target or promote to `latest` |
| 199 | + explicitly |
| 200 | +- `extended-stable`: user updates resolve npm `extended-stable`; operators |
| 201 | + publish the trailing completed month's `.33+` line from |
| 202 | + `extended-stable/YYYY.M.33` |
144 | 203 | - `beta`: prerelease tags like `vYYYY.M.PATCH-beta.N`, with npm dist-tag `beta` |
145 | 204 | - Prefer `-beta.N`; do not mint new `-1` or `-2` beta suffixes |
146 | 205 | - `dev`: moving head on `main` |
|
0 commit comments