attempt v0.21.0 release

This commit is contained in:
Jeff Carr 2024-02-23 12:46:39 -06:00
parent 6ad559dbbc
commit 2d2fc80754
1 changed files with 11 additions and 1 deletions

View File

@ -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()