summaryrefslogtreecommitdiff
path: root/globalDisplayOptions.go
diff options
context:
space:
mode:
Diffstat (limited to 'globalDisplayOptions.go')
-rw-r--r--globalDisplayOptions.go14
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")
}