File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed
Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,14 @@ function Run-AlCops {
123123
124124 $artifactUrl = Get-BcContainerArtifactUrl - containerName $containerName
125125 $artifactVersion = [System.Version ]$artifactUrl.Split (' /' )[4 ]
126- $latestSupportedRuntimeVersion = RunAlTool - arguments @ (' GetLatestSupportedRuntimeVersion' , " $ ( $artifactVersion.Major ) .$ ( $artifactVersion.Minor ) " )
127- Write-Host " Latest Supported Runtime Version: $latestSupportedRuntimeVersion "
126+ $latestSupportedRuntimeVersion = ' '
127+ try {
128+ $latestSupportedRuntimeVersion = RunAlTool - arguments @ (' GetLatestSupportedRuntimeVersion' , " $ ( $artifactVersion.Major ) .$ ( $artifactVersion.Minor ) " )
129+ Write-Host " Latest Supported Runtime Version: $latestSupportedRuntimeVersion "
130+ }
131+ catch {
132+ Write-Host - ForegroundColor Yellow " Cannot determine latest supported runtime version, will skip runtime version compatibility check"
133+ }
128134
129135 $global :_validationResult = @ ()
130136 $apps | ForEach-Object {
Original file line number Diff line number Diff line change @@ -178,8 +178,14 @@ function Sort-AppFilesByDependencies {
178178 if ($includeOnlyAppIds ) {
179179 $script :sortedApps | ForEach-Object { $_ | Add-Member - NotePropertyName ' Included' - NotePropertyValue $false }
180180 $includeOnlyAppIds | ForEach-Object { MarkSortedApps - AppId $_ }
181- $script :sortedApps | Where-Object { $_.Included } | ForEach-Object {
182- $files [" $ ( $_.id ) :$ ( $_.version ) " ]
181+ $script :sortedApps | ForEach-Object {
182+ if ($_.Included ) {
183+ $files [" $ ( $_.id ) :$ ( $_.version ) " ]
184+ }
185+ else {
186+ $appName = [System.IO.Path ]::GetFileName($files [" $ ( $_.id ) :$ ( $_.version ) " ])
187+ Write-Host " $appName (AppId=$ ( $_.id ) ) is skipped as it is not referenced"
188+ }
183189 }
184190 }
185191 else {
Original file line number Diff line number Diff line change 116.0.20
2+ Add trustServerCertificate is the parameter exists in various functions that might be running on the host
3+ Issue #3594 Run-AlCops says unknown platform version
4+ Add information about apps excluded due to not being referenced during Publish-BcContainerApp
25
366.0.19
47Issue #3560 Backup-BcContainerDatabases fails - password must be marked as read only bug
You can’t perform that action at this time.
0 commit comments