Skip to content

Commit

Permalink
Removed linebreaks in the xmlFormat.
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Chremmou <[email protected]>
  • Loading branch information
kc284 committed Sep 29, 2023
1 parent ef47709 commit 49b9379
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions scripts/xenadmin-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -298,22 +298,7 @@ $source_checksum | Out-File -LiteralPath "$OUTPUT_DIR\$appName-source.zip.checks

Write-Host "INFO: Calculated checksum source checksum: $source_checksum"

$xmlFormat=@"
<?xml version="1.0" ?>
<patchdata>
<versions>
<version
latest="true"
latestcr="true"
name="{0}"
timestamp="{1}"
url="{2}"
checksum="{3}"
value="{4}"
/>
</versions>
</patchdata>
"@
$xmlFormat='<?xml version="1.0" ?><patchdata><versions><version latest="true" latestcr="true" name="{0}" timestamp="{1}" url="{2}" checksum="{3}" value="{4}" /></versions></patchdata>'

$msi_url = $XC_UPDATES_URL -replace "XCUpdates.xml","$appName.msi"
$date=(Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")
Expand Down

0 comments on commit 49b9379

Please sign in to comment.