Prerequisites
GitVersion package
AzureDevops task
GitVersion version
6.7.0
Operating system
Linux
What are you seeing?
Have GitVersion.yml as
workflow: TrunkBased/preview1
# Branch-specific configuration
branches:
main:
increment: Minor
regex: ^develop$|^main$
release:
mode: ManualDeployment
label: ''
increment: Patch
prevent-increment:
of-merged-branch: true
when-branch-merged: false
when-current-commit-tagged: false
track-merge-target: false
track-merge-message: true
regex: ^releases?[\/-](?<BranchName>.+)
source-branches:
- main
is-source-branch-for: []
tracks-release-branches: false
is-release-branch: true
is-main-branch: false
pre-release-weight: 30000
feature:
regex: (?<BranchName>.+)
Running locally, this completes fairly quickly but seems to hang without any output in ADO using gitversion/execute@4
Repo history is fairly large, but during our release process we are tagging the version, so it should not need to go very deep to calculate. Also tried an ignore commits-before to see if that helped didn't seem to make a difference.
What is expected?
Local and ADO Pipeline runs should take the same amount of time.
Steps to Reproduce
Unclear the exact steps, this config and pattern is working fine in other repos, so may be a history size factor.
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
Prerequisites
GitVersion package
AzureDevops task
GitVersion version
6.7.0
Operating system
Linux
What are you seeing?
Have GitVersion.yml as
Running locally, this completes fairly quickly but seems to hang without any output in ADO using
gitversion/execute@4Repo history is fairly large, but during our release process we are tagging the version, so it should not need to go very deep to calculate. Also tried an ignore commits-before to see if that helped didn't seem to make a difference.
What is expected?
Local and ADO Pipeline runs should take the same amount of time.
Steps to Reproduce
Unclear the exact steps, this config and pattern is working fine in other repos, so may be a history size factor.
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).