|
7 | 7 |
|
8 | 8 | <Target Name="WriteVersionInfoToBuildLog" BeforeTargets="CoreCompile;GetAssemblyVersion;GenerateNuspec" Condition="$(WriteVersionInfoToBuildLog) == 'true'">
|
9 | 9 |
|
10 |
| - <WriteVersionInfoToBuildLog SolutionDirectory="$(GitVersionPath)" ConfigFilePath="$(GitVersionConfig)" NoFetch="$(GitVersion_NoFetchEnabled)"/> |
| 10 | + <WriteVersionInfoToBuildLog SolutionDirectory="$(GitVersionPath)" |
| 11 | + ConfigFilePath="$(GitVersionConfig)" |
| 12 | + NoFetch="$(GitVersion_NoFetchEnabled)" |
| 13 | + NoNormalize="$(GitVersion_NoNormalizeEnabled)" /> |
11 | 14 |
|
12 | 15 | </Target>
|
13 | 16 |
|
14 | 17 | <Target Name="UpdateAssemblyInfo" BeforeTargets="CoreCompile" Condition="$(UpdateAssemblyInfo) == 'true'">
|
15 | 18 |
|
16 |
| - <UpdateAssemblyInfo |
17 |
| - SolutionDirectory="$(GitVersionPath)" |
18 |
| - ConfigFilePath="$(GitVersionConfig)" |
19 |
| - NoFetch="$(GitVersion_NoFetchEnabled)" |
20 |
| - ProjectFile="$(MSBuildProjectFullPath)" |
21 |
| - IntermediateOutputPath="$(IntermediateOutputPath)" |
22 |
| - Language="$(Language)" |
23 |
| - CompileFiles ="@(Compile)"> |
| 19 | + <UpdateAssemblyInfo SolutionDirectory="$(GitVersionPath)" |
| 20 | + ConfigFilePath="$(GitVersionConfig)" |
| 21 | + NoFetch="$(GitVersion_NoFetchEnabled)" |
| 22 | + NoNormalize="$(GitVersion_NoNormalizeEnabled)" |
| 23 | + ProjectFile="$(MSBuildProjectFullPath)" |
| 24 | + IntermediateOutputPath="$(IntermediateOutputPath)" |
| 25 | + Language="$(Language)" |
| 26 | + CompileFiles ="@(Compile)"> |
24 | 27 |
|
25 | 28 | <Output TaskParameter="AssemblyInfoTempFilePath" PropertyName="AssemblyInfoTempFilePath" />
|
26 | 29 | </UpdateAssemblyInfo>
|
|
36 | 39 |
|
37 | 40 | <Target Name="GenerateGitVersionInformation" BeforeTargets="CoreCompile" Condition="$(GenerateGitVersionInformation) == 'true'">
|
38 | 41 |
|
39 |
| - <GenerateGitVersionInformation |
40 |
| - SolutionDirectory="$(GitVersionPath)" |
41 |
| - ConfigFilePath="$(GitVersionConfig)" |
42 |
| - NoFetch="$(GitVersion_NoFetchEnabled)" |
43 |
| - ProjectFile="$(MSBuildProjectFullPath)" |
44 |
| - IntermediateOutputPath="$(IntermediateOutputPath)" |
45 |
| - Language="$(Language)"> |
| 42 | + <GenerateGitVersionInformation SolutionDirectory="$(GitVersionPath)" |
| 43 | + ConfigFilePath="$(GitVersionConfig)" |
| 44 | + NoFetch="$(GitVersion_NoFetchEnabled)" |
| 45 | + NoNormalize="$(GitVersion_NoNormalizeEnabled)" |
| 46 | + ProjectFile="$(MSBuildProjectFullPath)" |
| 47 | + IntermediateOutputPath="$(IntermediateOutputPath)" |
| 48 | + Language="$(Language)"> |
46 | 49 |
|
47 | 50 | <Output TaskParameter="GitVersionInformationFilePath" PropertyName="GitVersionInformationFilePath" />
|
48 | 51 | </GenerateGitVersionInformation>
|
|
59 | 62 |
|
60 | 63 | <Target Name="GetVersion" BeforeTargets="CoreCompile;GetAssemblyVersion;GenerateNuspec;_GenerateRestoreProjectSpec;_GetOutputItemsFromPack;EnsureWixToolsetInstalled" Condition="$(GetVersion) == 'true'">
|
61 | 64 |
|
62 |
| - <GetVersion SolutionDirectory="$(GitVersionPath)" ConfigFilePath="$(GitVersionConfig)" NoFetch="$(GitVersion_NoFetchEnabled)"> |
| 65 | + <GetVersion SolutionDirectory="$(GitVersionPath)" |
| 66 | + ConfigFilePath="$(GitVersionConfig)" |
| 67 | + NoFetch="$(GitVersion_NoFetchEnabled)" |
| 68 | + NoNormalize="$(GitVersion_NoNormalizeEnabled)"> |
63 | 69 | <Output TaskParameter="Major" PropertyName="GitVersion_Major" />
|
64 | 70 | <Output TaskParameter="Minor" PropertyName="GitVersion_Minor" />
|
65 | 71 | <Output TaskParameter="Patch" PropertyName="GitVersion_Patch" />
|
|
0 commit comments