diff options
Diffstat (limited to 'scripts/Publish-Release.ps1')
| -rw-r--r-- | scripts/Publish-Release.ps1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Publish-Release.ps1 b/scripts/Publish-Release.ps1 index 78b97ef..a36c2b4 100644 --- a/scripts/Publish-Release.ps1 +++ b/scripts/Publish-Release.ps1 @@ -40,6 +40,9 @@ $required = @( foreach ($relative in $required) { if (-not (Test-Path -LiteralPath (Join-Path $bundle $relative))) { throw "Release Bundle is missing $relative" } } +foreach ($relative in @('agent.local.yaml', 'config\agent.local.example.yaml')) { + if (Test-Path -LiteralPath (Join-Path $bundle $relative)) { throw "Release Bundle must not contain local override input: $relative" } +} $manifestPath = Join-Path $bundle 'publish-manifest.sha256' Get-ChildItem -LiteralPath $bundle -File -Recurse | |
