diff options
| author | Jeff Carr <[email protected]> | 2024-02-23 12:46:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-23 12:46:39 -0600 |
| commit | 2d2fc80754b25bdc5fc23bd39595c377b331d1be (patch) | |
| tree | d3a5a7db7cc98311801ddd45c60385202d1aa31a | |
| parent | 6ad559dbbc63d02349e2e2fafeaaf4ecfb844b7a (diff) | |
attempt v0.21.0 releasev0.21.0
| -rw-r--r-- | globalDisplayOptions.go | 12 |
1 files changed, 11 insertions, 1 deletions
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() |
