Skip to content

Forced push breaks GitVersion under TeamCity #4053

Answered by mihaicodrean
mihaicodrean asked this question in Q&A
Discussion options

You must be logged in to vote

The trick is to prevent git fetch, by adding the following to Directory.Build.props:
<GitVersion_NoFetchEnabled>true</GitVersion_NoFetchEnabled>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mihaicodrean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #4052 on June 07, 2024 06:29.