diff --git a/doRelease.go b/doRelease.go index b90826d..55ff7df 100644 --- a/doRelease.go +++ b/doRelease.go @@ -117,6 +117,8 @@ func doRelease() bool { // attempt to find another repo to release if !doReleaseFindNext() { log.Info("doReleaseFindNext() could not find a new") + log.Info("THIS PROBABLY MEANS THAT ACTUALLY WE ARE TOTALLY DONE?") + os.Setenv("FindNextDone", "true") return false } log.Info("GOOD TO RUN ANOTHER DAY ON:", me.current.Name()) diff --git a/releaseBox.go b/releaseBox.go index 72c5c2b..cef42de 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -149,6 +149,11 @@ func createReleaseBox(box *gui.Node) { if doRelease() { log.Info("doRelease() worked") } else { + if os.Getenv("FindNextDone") == "true" { + log.Info("findNext says it was done") + log.Info("findNext says it was done") + log.Info("we can os.Exit here") + } if me.release.status.String() == "ALL DONE?" { log.Info("maybe ALL DONE?") buttonEnable()