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

@ -84,10 +84,3 @@ func getExecutableInDirectory(name, directory string) (string, error) {
return exe, nil
}
func IsNewerIgnorePrerelease(a, b *semver.Version) bool {
aN, _ := a.SetPrerelease("")
bN, _ := b.SetPrerelease("")
return aN.GreaterThan(&bN)
}