diff --git a/doRelease.go b/doRelease.go index 0021ecb..2f11b38 100644 --- a/doRelease.go +++ b/doRelease.go @@ -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) { diff --git a/releaseBox.go b/releaseBox.go index 059d62b..fc057b9 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -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()