From 5d01b73154f89e5dbb7e096a982f56f2854747bb Mon Sep 17 00:00:00 2001 From: JD Davis Date: Mon, 16 Feb 2026 23:03:34 -0600 Subject: [PATCH] fix: configure ContinuousDeployment for main branch in GitVersion 6 - Set main branch to ContinuousDeployment mode (equivalent to v5 MainLine) - Produces clean versions on main (e.g. 0.15.16) without pre-release suffix - Fixes NuGet rejection of bare numeric pre-release labels (0.15.15-6) --- GitVersion.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GitVersion.yml b/GitVersion.yml index c6869f1..607c2e9 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -5,3 +5,7 @@ commit-message-incrementing: Enabled major-version-bump-message: '(?m)^[a-z]+(?:\([\w\s\-,/\\]+\))?!:|(?m)^\s*BREAKING CHANGE:' minor-version-bump-message: '(?m)^feat(?:\([\w\s\-,/\\]+\))?:' patch-version-bump-message: '(?m)^(?:fix|perf)(?:\([\w\s\-,/\\]+\))?:' + +branches: + main: + mode: ContinuousDeployment