loop through release until finished

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-14 15:39:13 -06:00
parent a78eb59db0
commit 1554249afd
1 changed files with 4 additions and 2 deletions

View File

@ -192,9 +192,11 @@ func createReleaseBox(box *gui.Node) {
buttonEnable()
})
release.grid.NewButton("release(15)", func() {
release.grid.NewButton("release all", func() {
buttonDisable()
for n := 0; n <= 15; n++ {
// rather than loop forever, at least limit this to the number of repos
// incase something, somewhere, goes wrong
for n := 0; n <= len(me.allrepos); n++ {
if doRelease() {
log.Info("doRelease() worked")
} else {