diff --git a/docker-env/scripts/common-packages-list.ps1 b/docker-env/scripts/common-packages-list.ps1 index 23ecd3bf..416db88c 100644 --- a/docker-env/scripts/common-packages-list.ps1 +++ b/docker-env/scripts/common-packages-list.ps1 @@ -253,6 +253,10 @@ foreach ($key in $dependencyList.Keys) { if ($packages["$key"] -match "\w._(.*).zip") { CompareVersions -currentVersion $Matches[1] -requiredVersion $dependencyList["$key"] -moduleId $key } + elseif ($packages["$key"] -match "") { + Write-Warning "The module $key was not found in the commerceModules list. Adding it to the packages list." + $packages["$key"] = "$($key)_$($dependencyList["$key"]).zip" + } else { Write-Warning "Unable to parse version from packages list. Tried $packages[$key] -match '\w._(.*).zip'" } @@ -390,4 +394,4 @@ vc-build install --package-manifest-path ./new-packages.json ` --root ./publish ` --skip-dependency-solving -Get-ChildItem * -Include *packages.json -Recurse | Remove-Item -Verbose \ No newline at end of file +Get-ChildItem * -Include *packages.json -Recurse | Remove-Item -Verbose