diff --git a/prepareRelease.go b/prepareRelease.go index fdfda13..81ecae4 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -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 }