From 317c5f4d83d13840d0a0bb9eb923667d21f57ddd Mon Sep 17 00:00:00 2001 From: Chrison Simtian Date: Wed, 19 Aug 2026 20:10:23 +1200 Subject: [PATCH] Put main's preview lane one patch above the current release `version.json` on `main` said `10.5.0-preview.{height}`, which is one *minor* above the current release. The rule is one *patch* above: the latest GA is `10.4.0`, so `main` publishes `10.4.1-preview.`. Also set `release.versionIncrement` to `build` so `nbgv prepare-release` increments the patch component instead of the minor one. Leaving it on `minor` would put the next cut back onto a minor bump and undo this on the next release. Co-Authored-By: Claude Opus 5 (1M context) --- version.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.json b/version.json index 79a7ae20e..13a16ae70 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "10.5.0-preview.{height}", + "version": "10.4.1-preview.{height}", "publicReleaseRefSpec": [ "^refs/heads/release/\\d{4}$", "^refs/heads/release/v\\d+\\.\\d+$", @@ -18,7 +18,7 @@ "precision": "minor" }, "release": { - "versionIncrement": "minor", + "versionIncrement": "build", "firstUnstableTag": "preview", "branchName": "release/{version}" }