hopefully the last check. perfectly perfect?

This commit is contained in:
Jeff Carr 2025-02-14 19:15:57 -06:00
parent 2f1d7ac1f2
commit f70f3bfe1a
1 changed files with 11 additions and 3 deletions

View File

@ -157,10 +157,18 @@ func rePrepareRelease() {
continue
}
if b1 == 0 && b2 == 1 {
if check.GetGoPath() == "go.wit.com/log" {
log.Info("edge case. don't retag.", check.GetGoPath(), b1, b2)
log.Info("edge case. don't retag.", check.GetGoPath(), oldlhash, newmhash)
if ok, err := me.forge.ValidGoVersion(master); ok {
log.Info("GO version valid", check.GetGoPath(), master, lastTag)
} else {
log.Info("GO version invalid", check.GetGoPath(), master, lastTag, err)
forceReleaseVersion(check)
me.found.AppendByGoPath(check)
continue
}
// if check.GetGoPath() == "go.wit.com/log" {
log.Info("edge case. don't retag.", check.GetGoPath(), b1, b2)
log.Info("edge case. don't retag.", check.GetGoPath(), oldlhash, newmhash)
// }
// actually identical. do nothing
continue
}