Browse Source

Update gitversion

Tig 1 year ago
parent
commit
ae7eeeb850
1 changed files with 8 additions and 7 deletions
  1. 8 7
      GitVersion.yml

+ 8 - 7
GitVersion.yml

@@ -19,18 +19,19 @@ branches:
     #is-source-branch-for: ['v2']
     source-branches: []
 
-  main:
-    tag: rc
+  v2:
+    mode: ContinuousDeployment
+    is-release-branch: true
+    tag: prealpha
     increment: Patch
-    source-branches:
-    - develop
-    - main
+    regex: ^v2?[/-]
+    source-branches: ['v2_develop']
+
   feature:
     tag: useBranchName
     regex: ^features?[/-]
     source-branches:
-    - develop
-    - main
+    - v2_develop
   pull-request:
     tag: PullRequest.{BranchName}
     increment: Inherit