maybe exit if actually done?

This commit is contained in:
Jeff Carr 2024-11-17 06:26:25 -06:00
parent e5fb8f6b1b
commit e2fcd1cc2b
2 changed files with 7 additions and 0 deletions

View File

@ -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())

View File

@ -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()