Skip to content

Commit abc46c4

Browse files
committed
Merge branch 'release/3.0.0' into feature/improved-exception-handling
2 parents 8bff28d + 23c9bc5 commit abc46c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GitVersionTask/NugetAssets/GitVersionTask.targets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)..\</SolutionDir>
55
<IntermediateOutputPath Condition="$(IntermediateOutputPath) == '' Or $(IntermediateOutputPath) == '*Undefined*'">$(MSBuildProjectDirectory)obj\$(Configuration)\</IntermediateOutputPath>
6+
<GitVersionNoFetchEnabled Condition="$(GitVersionNoFetchEnabled) == ''">false</GitVersionNoFetchEnabled>
67
</PropertyGroup>
78

89
<UsingTask
@@ -35,7 +36,7 @@
3536
</ItemGroup>
3637

3738

38-
<GetVersion SolutionDirectory="$(SolutionDir)">
39+
<GetVersion SolutionDirectory="$(SolutionDir)" NoFetch="$(GitVersionNoFetchEnabled)">
3940
<Output TaskParameter="Major" PropertyName="GfvMajor" />
4041
<Output TaskParameter="Minor" PropertyName="GfvMinor" />
4142
<Output TaskParameter="Patch" PropertyName="GfvPatch" />

0 commit comments

Comments
 (0)