From ec9ed9aa6c8d35a34a6933194685c540ca8dc26c Mon Sep 17 00:00:00 2001 From: Alexander Holstrup <117829001+aholstrup1@users.noreply.github.com> Date: Fri, 1 Nov 2024 08:12:47 +0100 Subject: [PATCH] Update PublishBcContainerApp.ps1 --- Build/Scripts/PublishBcContainerApp.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/Scripts/PublishBcContainerApp.ps1 b/Build/Scripts/PublishBcContainerApp.ps1 index e4a7439ba..387eef347 100644 --- a/Build/Scripts/PublishBcContainerApp.ps1 +++ b/Build/Scripts/PublishBcContainerApp.ps1 @@ -3,7 +3,7 @@ Param([Hashtable]$parameters) Import-Module $PSScriptRoot\EnlistmentHelperFunctions.psm1 $appShouldBeSkipped = (Get-ConfigValue -ConfigType "BuildConfig" -Key "AppsNotToBePublished") | Where-Object { - return $parameters["appFile"] -like "*$_.app" + return $parameters["appFile"] -like "*$($_)*.app" } if ($appShouldBeSkipped) { @@ -12,4 +12,4 @@ if ($appShouldBeSkipped) { } else { Write-Host "Publishing app $($parameters['appFile'])" Publish-BcContainerApp @parameters -} \ No newline at end of file +}