Skip to content

Commit

Permalink
Update PublishBcContainerApp.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstrup1 authored Nov 1, 2024
1 parent 5c606a7 commit ec9ed9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Build/Scripts/PublishBcContainerApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -12,4 +12,4 @@ if ($appShouldBeSkipped) {
} else {
Write-Host "Publishing app $($parameters['appFile'])"
Publish-BcContainerApp @parameters
}
}

0 comments on commit ec9ed9a

Please sign in to comment.