summary refs log tree commit diff
path: root/version.json
diff options
context:
space:
mode:
Diffstat (limited to 'version.json')
-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"
   }
 }