This commit is contained in:
@@ -31,7 +31,7 @@ try {
|
||||
$manifestPath = Join-Path $payload[0].FullName 'deploy-manifest.json'
|
||||
$checksumsPath = Join-Path $payload[0].FullName 'SHA256SUMS'
|
||||
$manifest = Get-Content -LiteralPath $manifestPath -Raw | ConvertFrom-Json
|
||||
if ($manifest.schema_version -ne 'server-deployment-bundle-v1' -or $manifest.schema_migration_target -ne 52 -or $manifest.hardware_runtime -ne 'volc_hardware_agent') {
|
||||
if ($manifest.schema_version -ne 'server-deployment-bundle-v1' -or $manifest.schema_migration_target -ne 58 -or $manifest.hardware_runtime -ne 'volc_hardware_agent') {
|
||||
throw 'Deployment manifest metadata is invalid'
|
||||
}
|
||||
$verifiedFiles = 0
|
||||
|
||||
Reference in New Issue
Block a user