diff options
| -rw-r--r-- | prepareRelease.go | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/prepareRelease.go b/prepareRelease.go index b12889f..b669879 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -224,7 +224,9 @@ func rePrepareRelease() { } } - me.found.PrintDefaultTB() + footer := me.found.PrintDefaultTB() + log.Info("me.found len:", me.found.Len()) + log.Info("PrintTable() footer:", footer) // todo: verify each found repo is on the master branch for repo := range me.found.IterAll() { if repo.CurrentBranchName != repo.MasterBranchName { @@ -250,28 +252,13 @@ func alreadyDone(repo *gitpb.Repo) bool { // log.Info("WARNING already done", gopath, repo.GetGoPath()) // log.Info("WARNING already done", gopath, repo.GetGoPath()) if repo.GetGoPath() == gopath { - log.Info("FOUND. RETURN TRUE. already done", gopath, repo.GetGoPath()) + log.Info("FOUND. RETURN TRUE. already done", gopath, repo.GetGoPath(), "cur len() = ", me.found.Len()) return true } } return false } -/* -func upgradeReason(repo *gitpb.Repo) string { - for _, gopath := range me.reason { - // log.Info("WARNING already done", gopath, repo.GetGoPath()) - // log.Info("WARNING already done", gopath, repo.GetGoPath()) - // log.Info("WARNING already done", gopath, repo.GetGoPath()) - if repo.GetGoPath() == gopath { - log.Info("FOUND. RETURN TRUE. already done", gopath, repo.GetGoPath()) - return true - } - } - return false -} -*/ - func checkPublishedGodeps(repo *gitpb.Repo) error { godepsOld, err := repo.GoSumFromPkgDir() if err != nil { |
