diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-02 17:23:28 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-02 17:23:28 +0700 |
commit | 4fa87772ae5597ac85c30413f1b75f6c554fd8bb (patch) | |
tree | 3f58d2798090d171765cd600363d167af4cb7b29 | |
parent | Fix prerelease precedence (diff) | |
download | BouncyCastle.NET-ed25519-4fa87772ae5597ac85c30413f1b75f6c554fd8bb.tar.xz |
AssemblyVersion uses only major version
- assembly binding compatibility on .NET Framework
-rw-r--r-- | version.json | 13 |
1 files changed, 13 insertions, 0 deletions
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" } } |