You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When creating a PullRequest on an Azure DevOps repository, no matter you autoincrement minor or patch based on your gitversion.xml configuration, it doesn't inherit from source branch on PullRequest completion.
Expected Behavior
It should works as in local, it inherits semver when you merge source branch to target branch configured to inherit. Although it doesn't work on local when you tried to simulate Azure DevOps environment.
Actual Behavior
When you merge source branch to target branch configured to inherit, it works on a merge but not in a PullRequest in Azure DevOps. Also it doesn't work reproducing an Azure DevOps environment locally.
Possible Fix
After debugged it, it only requires to detect PullRequest properly on a ReferenceName class.
Describe the bug
When creating a PullRequest on an Azure DevOps repository, no matter you autoincrement minor or patch based on your gitversion.xml configuration, it doesn't inherit from source branch on PullRequest completion.
Expected Behavior
It should works as in local, it inherits semver when you merge source branch to target branch configured to inherit. Although it doesn't work on local when you tried to simulate Azure DevOps environment.
Actual Behavior
When you merge source branch to target branch configured to inherit, it works on a merge but not in a PullRequest in Azure DevOps. Also it doesn't work reproducing an Azure DevOps environment locally.
Possible Fix
After debugged it, it only requires to detect PullRequest properly on a ReferenceName class.
Steps to Reproduce
GitVersion.Tool 5.10.3 installed on Azure DevOps.
Content of gitversion.xml
Results of a PullRequest completion that doesn't inherit incremented Patch.
Results of a PullRequest with the fix.
Context
Without this fix, we can not use GitVersion in Azure DevOps.
The text was updated successfully, but these errors were encountered: