Skip to content

Commit

Permalink
Update ReleaseCleanup.ps1
Browse files Browse the repository at this point in the history
Fixing issue using bad var for target lookuo
  • Loading branch information
mawtex authored Oct 17, 2019
1 parent 2e66bca commit e478c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .build/ReleaseCleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(-not($cleanupDirectory)) { Throw "You must supply a value for -cleanupDirecto
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
[xml]$xml = Get-Content (Join-Path $scriptPath "ReleaseCleanupConfiguration.xml")

$targetItems = $xml.SelectNodes("/Configuration/Target[@name='" + $targetName + "']/*/*[@path]")
$targetItems = $xml.SelectNodes("/Configuration/Target[@name='" + $cleanupTargetName + "']/*/*[@path]")

Foreach ($fileNode in $targetItems) {
$relPath = $fileNode.Attributes["path"].Value
Expand Down

0 comments on commit e478c38

Please sign in to comment.