Skip to content

Commit f3747d5

Browse files
committed
fix: align correction release contract
1 parent 3a56430 commit f3747d5

4 files changed

Lines changed: 23 additions & 11 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Install GitVersion
6262
uses: gittools/actions/gitversion/setup@v4
6363
with:
64-
versionSpec: '6.4.x'
64+
versionSpec: '6.8.x'
6565

6666
- name: Determine Version
6767
id: gitversion

‎docs/RELEASING.md‎

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,22 @@ Stable, stable-correction, and alpha tags use the same signed CI release pipelin
8181
release under OpenClaw correction ordering.
8282
- `vX.Y.Z-alpha.N` creates a prerelease that stable updater checks do not offer.
8383

84-
The first Windows release that adopts stable correction ordering requires a
85-
manual upgrade from the matching unsuffixed version. Older Windows clients use
86-
Updatum's default parser, which removes the numeric correction suffix before
87-
comparison. Once a correction-aware Windows build is installed, later
88-
corrections and the next stable base version are compared using OpenClaw release
89-
ordering.
84+
Stable correction support begins only with an eligible upstream release tag
85+
created from `main` after the correction-aware implementation has landed. For
86+
this rollout, the Windows repository already contains its own annotated
87+
`v2026.7.1-2` tag, separate from the matching upstream tag, and it points to a
88+
commit that predates the implementation. It is not a correction-aware artifact
89+
and must not be moved, rebuilt from a different commit, or reused as a recovery
90+
release.
91+
92+
If the first post-merge Windows release is another numeric correction, users on
93+
the matching unsuffixed version need to install that new release manually.
94+
Older Windows clients use Updatum's default parser, which removes the numeric
95+
correction suffix before comparison. If the first post-merge release is a newer
96+
unsuffixed stable version, ordinary Updatum ordering can deliver it without the
97+
manual correction transition. Once any correction-aware Windows build is
98+
installed, later corrections and stable base versions are compared using
99+
OpenClaw release ordering.
90100

91101
```powershell
92102
git tag -a vX.Y.Z-alpha.N -m "OpenClaw Windows Hub vX.Y.Z-alpha.N"

‎docs/VERSIONING.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ from the same tag history.
2626
The repository-local tool manifest (`.config\dotnet-tools.json`) and MSBuild
2727
package reference (`src\Directory.Build.props`) are the authoritative local
2828
tool/package pins and currently target GitVersion 6.8.2. The CI workflow's
29-
`gittools/actions/gitversion/setup` step currently pins `6.4.x` for workflow
30-
output computation; if workflow files are being changed, prefer aligning that
31-
setup action to `6.8.x`. Until then, CI's tag/SemVer verification remains the
32-
release-blocking guard against version drift.
29+
`gittools/actions/gitversion/setup` step tracks the matching `6.8.x` line for
30+
workflow output computation. Keep the workflow action on the same major/minor
31+
line as the repository pins so the value injected into product metadata is
32+
computed by the same GitVersion release.
3333

3434
## Tagged and untagged builds
3535

‎tests/OpenClaw.Tray.Tests/VersioningContractTests.cs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ public void ReleaseWorkflow_TreatsNumericCorrectionsAsStableExactVersions()
6363
Path.Combine(repoRoot, ".github", "workflows", "ci.yml"));
6464

6565
Assert.Contains("- name: Resolve release version", workflow);
66+
Assert.Contains("versionSpec: '6.8.x'", workflow);
67+
Assert.DoesNotContain("versionSpec: '6.4.x'", workflow);
6668
Assert.Contains(
6769
"'^(?<base>(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*))-(?<revision>[1-9]\\d*)$'",
6870
workflow);

0 commit comments

Comments
 (0)