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