From 0c28300c30f28950c647501200f4dc86ad6aa17f Mon Sep 17 00:00:00 2001 From: Adam Friedman Date: Mon, 1 Apr 2024 10:22:52 +1100 Subject: [PATCH] Add GitVersion configuration --- GitVersion.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 GitVersion.yml diff --git a/GitVersion.yml b/GitVersion.yml new file mode 100644 index 0000000..6f38d98 --- /dev/null +++ b/GitVersion.yml @@ -0,0 +1,33 @@ +next-version: 0.6.1 +branches: + main: + regex: ^master$|^main$ + mode: ContinuousDelivery + source-branches: [ ] + increment: Patch + prevent-increment-of-merged-branch-version: true + is-mainline: true + feature: + regex: ^feature(s)?\/[\d-]+ + mode: ContinuousDelivery + source-branches: [ 'main', 'bugfix' ] + tag: useBranchName + increment: Patch + prevent-increment-of-merged-branch-version: false + track-merge-target: false + tracks-release-branches: false + is-release-branch: false + is-mainline: false + bugfix: + regex: ^bug(s)?\/[\d-]+|^hotfix(s)?\/[\d-]+|^fix(s)?\/[\d-]+ + mode: ContinuousDeployment + source-branches: [ 'main' ] + tag: beta + increment: Patch + prevent-increment-of-merged-branch-version: false + track-merge-target: false + tracks-release-branches: false + is-release-branch: false + is-mainline: false +ignore: + sha: []