maybe safely exit when finished

This commit is contained in:
Jeff Carr 2024-12-15 20:53:15 -06:00
parent 8e9408bac8
commit 279182ab62
2 changed files with 7 additions and 2 deletions

View File

@ -173,6 +173,9 @@ func doRelease() bool {
if err := check.AutogenRestore(cname); err != nil {
log.Info("AutogenRestore() failed", err)
} else {
cmd := []string{"git", "push", "origin", "refs/notes/*:refs/notes/*"}
check.Run(cmd)
}
if !me.current.Status.DoAll(retag) {

View File

@ -138,13 +138,15 @@ func createReleaseBox(box *gui.Node) {
second := findCounter
log.Info("doReleaseAll() first =", first, "second =", second)
if first == 0 {
log.Info("doReleaseAll() first is 0. everything is done")
log.Info("doReleaseAll() first is 0. everything is done. second is", second)
log.Info("exit() here safely")
buttonEnable()
me.forge.ConfigSave()
okExit("")
return
}
if first != second {
// try a third time
log.Info("doReleaseAll() first second do not match. findNext()")
findNext()
ok, duration := doReleaseAll()