remove wrong code

This commit is contained in:
Jeff Carr 2025-02-15 18:55:19 -06:00
parent a128a45ef9
commit 93b659020b
1 changed files with 2 additions and 0 deletions

View File

@ -156,6 +156,7 @@ func rePrepareRelease() {
// actually identical. do nothing
continue
}
/* this was wrong because the gitpb logic was bad
if b1 == 0 && b2 == 1 {
if ok, err := me.forge.ValidGoVersion(master); ok {
log.Info("GO version valid", check.GetGoPath(), master, lastTag)
@ -179,6 +180,7 @@ func rePrepareRelease() {
log.Info("got to log", oldlhash, newmhash)
os.Exit(-1)
}
*/
if gitpb.IsGoTagVersionGreater(lastTag, master) {
// this function is not right really. the hash error above should catch it correctly
// log.Printf("PROBABLY NOT NEE %-50s tag %s < %s\n", check.GetGoPath(), lastTag, master)