From 2d2fc80754b25bdc5fc23bd39595c377b331d1be Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 23 Feb 2024 12:46:39 -0600 Subject: [PATCH] attempt v0.21.0 release --- globalDisplayOptions.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 6cac48f..3a14ec9 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -123,6 +123,7 @@ func globalDisplayOptions(box *gui.Node) { var incrementTags *gui.Node incrementTags = grid.NewButton("increment tags", func() { + me.Disable() for _, repo := range me.repos.View.AllRepos() { if whitelist(repo.GoPath()) { continue @@ -137,6 +138,11 @@ func globalDisplayOptions(box *gui.Node) { if lasttag == masterv { // nothing to do if curv == masterv // unless go.sum depends on changed repos + if targetv != lasttag { + log.Info(repo.GoPath(), "trigger a new release?", targetv, lasttag) + repo.Status.SetVersion("0", "21", "0", releaseReasonS) + } + continue } @@ -155,7 +161,11 @@ func globalDisplayOptions(box *gui.Node) { continue } } - incrementTags.SetText("maybe done?") + if findNext() { + log.Info("findNext() found a repo") + } + incrementTags.SetText("maybe ready?") + me.Enable() }) grid.NextRow()