diff --git a/prepareRelease.go b/prepareRelease.go index 2bd6652..7cca420 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -156,31 +156,6 @@ 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) - } 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.Printf("edge case. don't retag. git log --oneline %s..%s\n", master, lastTag) - log.Printf("edge case. don't retag. git log --oneline %s..%s\n", lastTag, master) - 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 - } - if check.GetGoPath() == "go.wit.com/log" { - log.Info("got to log", b1, b2) - 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) @@ -212,11 +187,6 @@ func rePrepareRelease() { continue } - if check.GetGoPath() == "go.wit.com/log" { - log.Info("got to log") - os.Exit(-1) - } - // if the repo is a go binary or plugin for a new release for // any library version change // if check.GetRepoType() == "binary" || check.GetRepoType() == "plugin" {