diff --git a/GitVersion.yml b/GitVersion.yml index 52981c4aca..062979b1e0 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -19,7 +19,7 @@ branches: increment: None prevent-increment-of-merged-branch-version: true track-merge-target: false - regex: ^v*|^releases?[/-] + regex: ^v\d+\.\d+\.\d+$|^releases?[/-] source-branches: - main - release