loop through release until finished
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
a78eb59db0
commit
1554249afd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue