Skip to content

Commit 1fdcae6

Browse files
author
Boning ZHANG
committed
Merged PR 133: Updated importProcess.ps1
Updated importProcess.ps1
1 parent 2b92b8c commit 1fdcae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processtemplatetask/processtemplatetaskv2/importProcess.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ if ((($overrideProcessGuid -ne $null) -and ($overrideProcessGuid -ne "")) -or ((
8484
{
8585
$nameXML = $xml.ProcessTemplate.metadata.name
8686
Write-VstsTaskVerbose "Current Name of the Process is $nameXML and we are replacing it with $overrideProcessName before upload"
87-
$nameXML = $overrideProcessName
87+
$xml.ProcessTemplate.metadata.name = $overrideProcessName
8888
}
8989
$xml.Save([string]$processFile)
9090
[System.IO.File]::Delete($file)

0 commit comments

Comments
 (0)