Skip to content

Commit 92c534b

Browse files
author
Frode Nilsens
committed
Re-added NoFetch
1 parent dc912e1 commit 92c534b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GitVersionTask/NugetAssets/GitVersionTask.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@
2727
AssemblyFile="$(MSBuildThisFileDirectory)..\..\GitVersionTask.dll" />
2828

2929
<Target Name="WriteVersionInfoToBuildLog" BeforeTargets="CoreCompile" Condition="$(WriteVersionInfoToBuildLog) == 'true'">
30-
<WriteVersionInfoToBuildLog SolutionDirectory="$(SolutionDir)" />
30+
<WriteVersionInfoToBuildLog SolutionDirectory="$(SolutionDir)" NoFetch="$(GitVersion_NoFetchEnabled)"/>
3131
</Target>
3232

3333
<Target Name="UpdateAssemblyInfo" BeforeTargets="CoreCompile" Condition="$(UpdateAssemblyInfo) == 'true'">
3434
<UpdateAssemblyInfo
3535
SolutionDirectory="$(SolutionDir)"
36+
NoFetch="$(GitVersion_NoFetchEnabled)"
3637
ProjectFile="$(MSBuildProjectFullPath)"
3738
IntermediateOutputPath="$(IntermediateOutputPath)"
3839
RootNamespace="$(RootNamespace)"

0 commit comments

Comments
 (0)