[ISSUE]: The count of (GitVersion.PreReleaseNumber) is reset to 0 in the branch Develop without any reason. #4101
Replies: 2 comments 2 replies
-
|
Currently the 5.x versions is really old and we are not maintaining it. We're in the process of releasing a new v6.0.0 version so you better target the new version. Please check this example https://github.com/GitTools/actions/blob/main/docs/examples/azure/gitversion/setup/usage-examples.md#example-3 |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I'm going to close this discussion because gitversion version 5.x is not supported anymore. Please try the latest version. Happy Branching! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Prerequisites
GitVersion package
AzureDevops task
GitVersion version
5.x
Operating system
Windows
What are you seeing?
The count of (GitVersion.PreReleaseNumber) is reset to 0 in the branch Develop without any reason.
What is expected?
it will continue to count above 4.5.0.47, instead its downgraded to 4.5.0.2
Steps to Reproduce
just merge "personal/branch" to the Develop branch with 1 commit

RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
gitvesion.yml: mode: ContinuousDeployment tag-prefix: '[vV]' legacy-semver-padding: 5 continuous-delivery-fallback-tag: '' # ci major-version-bump-message: '\+semver:\s?(breaking|major)' minor-version-bump-message: '\+semver:\s?(feature|minor)' patch-version-bump-message: '\+semver:\s?(fix|patch)' no-bump-message: '\+semver:\s?(none|skip)' commit-message-incrementing: Enabled branches: main: regex: ^main$ tag: '' increment: None prevent-increment-of-merged-branch-version: true source-branches: - develop - release tracks-release-branches: false is-release-branch: false is-mainline: true develop: regex: ^develop$ tag: dev increment: Minor prevent-increment-of-merged-branch-version: true tracks-release-branches: true track-merge-target: true release: regex: ^release?[/-]\d.\d.\d$ tag: release increment: Inherit prevent-increment-of-merged-branch-version: true source-branches: - develop is-release-branch: true feature: regex: ^feature[/-] tag: f-{BranchName} increment: Inherit prevent-increment-of-merged-branch-version: true source-branches: - develop pull-request: tag: '' # PullRequest increment: Inherit prevent-increment-of-merged-branch-version: true tag-number-pattern: '[/-](?<number>\d+)' regex: ^(pull|pull\-requests|pr)[/-] source-branches: - develop - main - release - feature - hotfix tracks-release-branches: false is-release-branch: false is-mainline: false hotfix: regex: ^hotfix[/-] tag: h-{BranchName} increment: Patch prevent-increment-of-merged-branch-version: true source-branches: - main tracks-release-branches: false is-release-branch: false is-mainline: false ignore: sha: [] commit-date-format: dd-MM-yyyy merge-message-formats: {} update-build-number: true pipeline 4.5.00.47: 47 commits found between c3aeaad Increment Version ***NO_CI*** and f2d3294 Merged PR 23489: pipeline 4.5.0.2:Beta Was this translation helpful? Give feedback.
All reactions