Use another JSON file for publishing preview

This commit is contained in:
Pig Fang 2019-09-12 18:55:18 +08:00
parent 62221c05a7
commit 79307561c9

View File

@ -29,7 +29,7 @@ Copy-Item -Path "../$zip" -Destination $zip
$manifest.latest = $current
$manifest.url = $manifest.url.Replace($last, $current)
ConvertTo-Json $manifest | Out-File -FilePath update_2.json
ConvertTo-Json $manifest | Out-File -FilePath update_preview.json
Write-Host "Update source is prepared." -ForegroundColor Green
$azureToken = $env:AZURE_TOKEN