GODT-1977: revert the pre-release changes.

This commit is contained in:
Jakub
2022-11-08 18:11:17 +01:00
committed by James Houlahan
parent 5aa495b240
commit bbbc18b959
4 changed files with 4 additions and 27 deletions

View File

@ -241,7 +241,7 @@ func getPathToUpdatedExecutable(
}
// Skip versions that are less or equal to launcher version.
if currentVersion != nil && !versioner.IsNewerIgnorePrerelease(version.SemVer(), currentVersion) {
if currentVersion != nil && !version.SemVer().GreaterThan(currentVersion) {
continue
}