fix small bug

This commit is contained in:
David Refoua 2022-10-17 22:19:37 +03:30
parent cc9699c134
commit 3943ba6cc8

View File

@ -39,7 +39,7 @@ jobs:
foreach ($s in $newVersion) { foreach ($s in $newVersion) {
$oldVersion = ($currentVersion | Where-Object {$_.name -eq $s.name}).version $oldVersion = ($currentVersion | Where-Object {$_.name -eq $s.name}).version
if ($s.version -ne $oldVersion) { if ($s.version -ne $oldVersion) {
$listUpdated += "$($s.name v$s.version), " $listUpdated += "$($s.name) v$($s.version), "
$updateMessage += "| **$($s.name)** | $oldVersion | **$($s.version)** |`n" $updateMessage += "| **$($s.name)** | $oldVersion | **$($s.version)** |`n"
} }
} }