Ensure downgrades don't show up as updates

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
David Refoua
2026-04-12 05:06:50 +03:30
committed by GitHub
parent 59ef29cbab
commit 426d9e6efe

View File

@@ -103,9 +103,12 @@ jobs:
} elseif ($newVer.Minor -gt $oldVer.Minor) { } elseif ($newVer.Minor -gt $oldVer.Minor) {
$changeType = "minor" $changeType = "minor"
$emoji = "🚀" $emoji = "🚀"
} else { } elseif ($newVer -gt $oldVer) {
$changeType = "patch" $changeType = "patch"
$emoji = "⬆️" $emoji = "⬆️"
} else {
$changeType = "unknown"
$emoji = "🔄"
} }
} }
} catch { } catch {