diff options
| author | Jeff Carr <[email protected]> | 2024-03-03 11:53:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-03-03 11:53:33 -0600 |
| commit | 90ae6d09175271d89072788e6ea0c03c15dc84ab (patch) | |
| tree | 618e62598460477d4ae264175865e811d1dae8b5 /globalDisplayOptions.go | |
| parent | 1a90d070bb298d3109d42e92acfdeea82cf3eef0 (diff) | |
this may work to resume a releasev0.22.0
Diffstat (limited to 'globalDisplayOptions.go')
| -rw-r--r-- | globalDisplayOptions.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 0e468a3..4ec5c93 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -149,6 +149,15 @@ func globalDisplayOptions(box *gui.Node) { me.Enable() }) grid.NewButton("increment minor version", func() { + // this is messy still. if the release process fails, it needs to continue + // for now, use the "go.wit.com/log" release minor number as the official + // release. If it hasn't been updated yet, then start there + logrepo := me.repos.View.FindRepo("go.wit.com/log") + if logrepo == nil { + log.Info("couldn't find go.wit.com/log") + return + } + releasev := logrepo.Status.LastTag() for _, repo := range me.repos.View.AllRepos() { if whitelist(repo.GoPath()) { continue @@ -168,6 +177,11 @@ func globalDisplayOptions(box *gui.Node) { repo.Status.IncrementRevisionVersion("trying minor") continue } + if releasev == repo.Status.LastTag() { + log.Info("skipping already released repo", repo.Status.GoPath()) + repo.Status.SetTargetVersion(releasev) + continue + } // repo.Status.SetVersion("0", "22", "0", "trying increment minor") repo.Status.IncrementMinorVersion("trying minor") } |
