maybe exit if actually done?
This commit is contained in:
parent
e5fb8f6b1b
commit
e2fcd1cc2b
|
@ -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())
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue