From 4fa87772ae5597ac85c30413f1b75f6c554fd8bb Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 2 Nov 2022 17:23:28 +0700 Subject: AssemblyVersion uses only major version - assembly binding compatibility on .NET Framework --- version.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'version.json') diff --git a/version.json b/version.json index 0f5df08f3..8902c71d7 100644 --- a/version.json +++ b/version.json @@ -1,16 +1,29 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + + // Don't increment build number during prerelease "version": "2.0.0-beta.{height}", + + // Maintain assembly binding compatibility on .NET Framework + "assemblyVersion": { + "precision": "major" + }, + + // Start our build number from 0 "versionHeightOffset": -1, + "nugetPackageVersion": { "semVer": 2 }, + "publicReleaseRefSpec": [ "^refs/heads/master$", "^refs/heads/release/v\\d+\\.\\d+$" ], + "release": { "branchName": "release/v{version}", + "versionIncrement": "minor", "firstUnstableTag": "beta" } } -- cgit 1.4.1