diff --git a/findNext.go b/findNext.go index b9f1fe8..bd5c12b 100644 --- a/findNext.go +++ b/findNext.go @@ -73,17 +73,11 @@ func findNext() bool { } log.Info("CHECKING:", check.GetGoPath()) // _, err := check.RunVerboseOnError([]string{"go-mod-clean", "--strict"}) - _, err := check.RunStrictNew([]string{"go-mod-clean", "--strict"}) + _, err := check.RunStrictNew([]string{"go-mod-clean", "--smart"}) if err != nil { - log.Info("FAILED:", check.GetGoPath()) + log.Info("FAILED: findNext() go-mod-clean --smart", check.GetGoPath(), err) continue } - if err := checkDeps(check); err != nil { - log.Info("\t", check.GetGoPath(), err) - continue - } else { - log.Info("Might be ok?", check.GetGoPath()) - } findCounter += 1 if !check.ParseGoSum() { @@ -92,6 +86,14 @@ func findNext() bool { log.Info("ParseGoSum() failed", check.GetGoPath()) continue } + + if err := checkDeps(check); err != nil { + log.Info("\t", check.GetGoPath(), err) + continue + } else { + log.Info("Might be ok?", check.GetGoPath()) + } + if err := me.forge.FinalGoDepsCheckOk(check, argv.Verbose); err == nil { log.Info("GOOD TO GO ON", check.GetGoPath()) setCurrentRepo(check, "should be good to release", "pretty sure") diff --git a/prepareRelease.go b/prepareRelease.go index 78b2678..e56cda1 100644 --- a/prepareRelease.go +++ b/prepareRelease.go @@ -57,7 +57,6 @@ func rillRestore(repo *gitpb.Repo) error { log.Info("go-mod-clean --restore failed", repo.GetGoPath(), err) return err } - // log.Info("go-mod-clean --restore worked ", repo.GetGoPath()) return nil }