-
Notifications
You must be signed in to change notification settings - Fork 662
Closed
Description
I've setup GitVersion as a build step in my TeamCity build configuration.
- Given that the most recent version tag on master is v1.2.3
- And TeamCity runs a build based on the latest commit on master
- When I later tag that same commit with a new version tag: v1.2.4
- Then when I manually run the TeamCity build, GitVersion ignores the new version tag and again outputs the previous version.
UPDATE: I've struck out the bits about "skipping fetching" below for the reason that fetching is no longer skipped in my build and yet the symptoms above still occur.
In the build log I see the following message:
INFO [05/10/16 7:52:05:74] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
Why is GitVersion skipping fetching? How can I "allow fetching"?
Note:
- The VCS root is configured to run "automatically on client".
- The GitVersion build step is based on the GitVersion TeamCity meta-runner.
- I get the exact same behavior even when I use dynamic repositories. :(
Metadata
Metadata
Assignees
Labels
No labels