Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker-env/scripts/common-packages-list.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
}
Expand Down Expand Up @@ -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
Get-ChildItem * -Include *packages.json -Recurse | Remove-Item -Verbose