From 809e15113d85fbbfea81c9e58694e1bf3d4a9479 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Tue, 18 Feb 2025 07:04:09 +0100 Subject: [PATCH] Create filesonly build container before enumerating installed apps (#3836) Co-authored-by: freddydk --- AppHandling/Run-AlPipeline.ps1 | 2 ++ ReleaseNotes.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/AppHandling/Run-AlPipeline.ps1 b/AppHandling/Run-AlPipeline.ps1 index 95987b4b7..0b8da923b 100644 --- a/AppHandling/Run-AlPipeline.ps1 +++ b/AppHandling/Run-AlPipeline.ps1 @@ -488,6 +488,8 @@ function GetInstalledApps { $installedApps += @(GetAppInfo -AppFiles $compilerFolderAppFiles -compilerFolder $compilerFolder -cacheAppinfoPath (Join-Path $compilerFolder 'symbols/cache_AppInfo.json')) } elseif ($filesOnly) { + # Make sure container has been created + GetBuildContainer | Out-Null $installedApps = Get-ChildItem -Path (Join-Path $packagesFolder '*.app') | ForEach-Object { $appJson = Get-AppJsonFromAppFile -appFile $_.FullName return @{ diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 29da0064c..11c469e61 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -4,6 +4,7 @@ AL-Go issue 1330 CompilerFolder doesn't transfer installed Apps to NuGet resolut AL-Go issue 1268 Do not throw an un-understandable error during nuGet download Use FileStream when uploading per tenant extensions to online environments to support larger apps Remove duplicate quotes in new Source and Build elements in apps generated by BcContainerHelper and AL-Go +Create filesonly build container before enumerating installed apps in Run-AlPipeline 6.0.34 Compare files before giving a warning about apps with the same name in Run-AlPipeline