hopefully the last check. perfectly perfect?
This commit is contained in:
parent
2f1d7ac1f2
commit
f70f3bfe1a
|
@ -157,10 +157,18 @@ func rePrepareRelease() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if b1 == 0 && b2 == 1 {
|
if b1 == 0 && b2 == 1 {
|
||||||
if check.GetGoPath() == "go.wit.com/log" {
|
if ok, err := me.forge.ValidGoVersion(master); ok {
|
||||||
log.Info("edge case. don't retag.", check.GetGoPath(), b1, b2)
|
log.Info("GO version valid", check.GetGoPath(), master, lastTag)
|
||||||
log.Info("edge case. don't retag.", check.GetGoPath(), oldlhash, newmhash)
|
} 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
|
// actually identical. do nothing
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue