File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 5
5
[string ]$gitVersionPath
6
6
)
7
7
8
+ Write-Verbose " updateAssemblyInfo = $updateAssemblyInfo "
9
+ Write-Verbose " updateAssemblyInfoFilename = $updateAssemblyInfoFilename "
10
+ Write-Verbose " additionalArguments = $additionalArguments "
11
+ Write-Verbose " gitVersionPath = $gitVersionPath "
12
+
8
13
Write-Verbose " Importing modules"
9
14
import-module " Microsoft.TeamFoundation.DistributedTask.Task.Internal"
10
15
import-module " Microsoft.TeamFoundation.DistributedTask.Task.Common"
11
16
17
+ $updateAssemblyInfoFlag = Convert-String $updateAssemblyInfo Boolean
18
+ Write-Verbose " updateAssemblyInfo (converted) = $updateAssemblyInfoFlag "
19
+
12
20
$currentDirectory = Convert-Path .
13
21
$sourcesDirectory = $env: Build_SourcesDirectory
14
22
15
23
Write-Host (Get-LocalizedString - Key " Current Directory: {0}" - ArgumentList $currentDirectory )
16
24
Write-Host (Get-LocalizedString - Key " Sources Directory: {0}" - ArgumentList $sourcesDirectory )
17
25
18
- Write-Host (Get-LocalizedString - Key " Check/Set GitVersion path" )
19
-
20
26
if (! $gitVersionPath )
21
27
{
22
28
$gitVersionPath = Join-Path - Path $currentDirectory - ChildPath " GitVersion.exe"
@@ -29,7 +35,7 @@ if (-not $gitVersionPath)
29
35
30
36
$argsGitVersion = " $sourcesDirectory " + " /output buildserver /nofetch"
31
37
32
- if ($updateAssemblyInfo )
38
+ if ($updateAssemblyInfoFlag )
33
39
{
34
40
$argsGitVersion = $argsGitVersion + " /updateassemblyinfo"
35
41
You can’t perform that action at this time.
0 commit comments