From 7488a23bb69e59f7d438ce4fc5ae49b37069d1a8 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Wed, 3 Jan 2024 08:04:42 -0600 Subject: [PATCH] build: Change to ContinuousDeployment versioning This mode apparently works like Continuous Delivery. And Mainline works like Continuous Deployment. Version 6.0 is supposed to fix this confusion later. Also introduce the `dev` prerelease tag. --- GitVersion.yml | 7 +++++-- Recyclarr.sln | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/GitVersion.yml b/GitVersion.yml index 2cf8591e..a7f96fbe 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,5 +1,8 @@ -mode: ContinuousDelivery -tag-prefix: 'v' +mode: ContinuousDeployment major-version-bump-message: "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)" minor-version-bump-message: "^(feat)(\\([\\w\\s-]*\\))?:" patch-version-bump-message: "^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\\([\\w\\s-]*\\))?:" + +branches: + main: + tag: dev diff --git a/Recyclarr.sln b/Recyclarr.sln index 0f5023ff..be2fa101 100644 --- a/Recyclarr.sln +++ b/Recyclarr.sln @@ -13,6 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{305C2AC5 Directory.Build.props = Directory.Build.props Directory.Build.targets = Directory.Build.targets Directory.Packages.props = Directory.Packages.props + GitVersion.yml = GitVersion.yml EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Recyclarr.Common", "src\Recyclarr.Common\Recyclarr.Common.csproj", "{18CF1FCA-7983-4423-8B7E-4A830108C624}"