From b45a939ad43f84e58ec65038ea806efc7f6102ed Mon Sep 17 00:00:00 2001 From: Dave Skender <8432125+DaveSkender@users.noreply.github.com> Date: Sun, 29 Dec 2024 21:53:32 -0500 Subject: [PATCH] update spec --- src/gitversion.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/gitversion.yml b/src/gitversion.yml index 0e680a780..758daeafd 100644 --- a/src/gitversion.yml +++ b/src/gitversion.yml @@ -8,22 +8,17 @@ patch-version-bump-message: '\+semver:\s?(fix|patch)' no-bump-message: '\+semver:\s?(none|skip)' branches: - main: - tag: '' increment: Patch - prevent-increment-of-merged-branch-version: true - track-merge-target: false - is-release-branch: true is-mainline: true - feature: - tag: preview. + v[0-9].*: increment: Patch - pull-request: + .*: tag: preview. - increment: Inherit + increment: Patch + source-branches: ['main', 'v[0-9].*'] ignore: sha: []