Files
UA-.NETStandard/version.json
T
romanett 6ea6943f65 Set release/2.0 to stable 2.0.0 (#4681)
# Description

Re-targets #4677 to `release/2.0`. That PR was opened against `master`
by mistake and merged there. This is step 4 of [First stable
release](docs/ReleaseProcess.md#first-stable-release).

- **`version.json`**: `"version"` `2.0.0-preview.{height}` → `2.0.0`;
`versionHeightOffset` `-32` → `0`. With no `{height}` in the version, a
negative offset makes the file-version revision negative and nbgv
throws.
- **`preview-version.props`**: `PreviewPackageBuildNumber` `100` →
`200`, so the package families that stay in preview sort above the
`2.0.0-preview.N` builds already on GitHub Packages.
`validate-preview-package-ordering.ps1` still checks this when the
candidate is built.

The diff against `release/2.0` is exactly the change #4677 made on
`master`. Apart from these two files, `release/2.0` matches `master` as
of `fd360271d`.

**After merge:** run [Candidate and dry
run](docs/ReleaseProcess.md#candidate-and-dry-run). The manifest should
show `basePackageVersion: 2.0.0` and `channel: stable`. Then run
[Approved promotion](docs/ReleaseProcess.md#approved-promotion) with
`release.yml` and `channel=stable`.

## Related Issues

Companion to the `master` PR that moves `master` off the stable `2.0.0`
version to `2.0.1-preview.{height}`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 18:08:06 +02:00

22 lines
545 B
JSON

{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "2.0.0",
"versionHeightOffset": 0,
"nugetPackageVersion": {
"semVer": 2
},
"publicReleaseRefSpec": [
"(?-i)^refs/heads/release/(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
],
"cloudBuild": {
"setVersionVariables": true,
"buildNumber": {
"enabled": true,
"includeCommitId": {
"when": "nonPublicReleaseOnly",
"where": "buildMetadata"
}
}
}
}