-
Notifications
You must be signed in to change notification settings - Fork 651
VSTS Build vNext task not finding current version #1014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you copy the fetch sources part of the build log. Looks like tags are not being fetched. |
|
I was able to get around it by not using squash merge. Jesse Houwing from Xpirit figured it out so I'll let him fill in the details. |
I use squash merges as well but I'm finding tags are not being picked up even using git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" fetch --prune --progress origin to get around to get around the master/develop not being pulled when building pull requests (as per #993). @JakeGinnivan Should I do the above CLI as well as git fetch -all? I'm clutching as straws here :) |
Excerpt from Jesse's email:
|
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
First, I'd like to thank you for making this. It's a very significant utility.
I'm experimenting without having changed any of the default settings. My master branch is in sync between local and remote origin.
When I run
GitVersion /output json /showvariable FullSemver
in my local repo I get 1.7.0+20. It sees a merge from release/1.6.2 and then picks up '+semver: minor' in one of the commit messages.When I run a build in VSTS against that same master repo, it labels as 0.2.0+25. It falls back to 0.1.0 then picks up '+semver: minor' in one of the commit messages.
Any thoughts as to why they're behaving differently?
Here's some output from the build definition:
The text was updated successfully, but these errors were encountered: