mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-18 06:31:35 +08:00
dcd06791ac
# Description #4677 was meant for `release/2.0` but was merged into `master`. Since then, `master`'s `version.json` has been the stable `2.0.0`. This PR moves `master` to `2.0.1-preview.{height}`. Its builds then sort above the `2.0.0` release and stay on the preview channel. - **`version.json`**: `"version"` `2.0.0` → `2.0.1-preview.{height}`. `versionHeightOffset` stays `0`. - **`preview-version.props`**: `PreviewPackageBuildNumber` stays `200`, matching `release/2.0`. It only applies when the root version is stable, so it has no effect on `master`. The stable change itself goes to `release/2.0` in a separate PR. ## Related Issues Fixes the wrong target of #4677. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
562 B
JSON
22 lines
562 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
|
"version": "2.0.1-preview.{height}",
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|