summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-02 17:23:28 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-02 17:23:28 +0700
commit4fa87772ae5597ac85c30413f1b75f6c554fd8bb (patch)
tree3f58d2798090d171765cd600363d167af4cb7b29
parentFix prerelease precedence (diff)
downloadBouncyCastle.NET-ed25519-4fa87772ae5597ac85c30413f1b75f6c554fd8bb.tar.xz
AssemblyVersion uses only major version
- assembly binding compatibility on .NET Framework
-rw-r--r--version.json13
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"
   }
 }