remove incompatible version string matching

This commit is contained in:
David Refoua 2022-10-17 21:09:06 +03:30
parent f468ddfe95
commit 1d330e7330

View File

@ -237,9 +237,9 @@ foreach ($s in $sources) {
Write-Verbose "Version: $version"
if ( $s.version -ne $version ) {
if ( ([System.Version] $s.version) -gt ([System.Version] $version) ) {
throw "The current version $($s.version) is already newer than the found version $version!"
}
# if ( ([System.Version] $s.version) -gt ([System.Version] $version) ) {
# throw "The current version $($s.version) is already newer than the found version $version!"
# }
$count++
}