summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-17 06:26:25 -0600
committerJeff Carr <[email protected]>2024-11-17 06:26:25 -0600
commite2fcd1cc2bb8b73159abcd11dba06eaf85a0c5d0 (patch)
tree8fac5eaa7579120061a052ce26695418a3adff28
parente5fb8f6b1baae74d3aa9b969e12f1320faba2746 (diff)
maybe exit if actually done?v0.22.17
-rw-r--r--doRelease.go2
-rw-r--r--releaseBox.go5
2 files changed, 7 insertions, 0 deletions
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()