summaryrefslogtreecommitdiff
path: root/releaseWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-01 13:51:17 -0600
committerJeff Carr <[email protected]>2024-02-01 13:51:17 -0600
commita0cd9ee4a1b12295a206d31dd314fedaa12425c4 (patch)
treefe8efe4d30ae0a3a2d06b91ec9b870ea85e13fd3 /releaseWindow.go
parent41a61668908536a860dc78de0c9eedbfc179dd63 (diff)
kind of work, but still manual process
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'releaseWindow.go')
-rw-r--r--releaseWindow.go15
1 files changed, 13 insertions, 2 deletions
diff --git a/releaseWindow.go b/releaseWindow.go
index 437cba0..620f487 100644
--- a/releaseWindow.go
+++ b/releaseWindow.go
@@ -95,8 +95,13 @@ func createReleaseBox(box *gui.Node) {
log.Warn("version does not start with v.", release.version.String())
return
}
- if release.status.String() != "PRIMATIVE" {
- log.Warn("only can do PRIMATIVE right now", release.version.String())
+ switch release.status.String() {
+ case "PRIMATIVE":
+ log.Warn("can do PRIMATIVE", release.version.String())
+ case "manually chosen":
+ log.Warn("attempting manual release", release.version.String())
+ default:
+ log.Warn("what is this?", release.version.String(), release.status.String())
return
}
@@ -408,6 +413,12 @@ func findNextDirty() bool {
if goSumS == "IGNORE" {
continue
}
+ if goSumS == "NOT READY" {
+ if setCurrentRepo(repo, "NOT READY", "manually check go.sum") {
+ return true
+ }
+ continue
+ }
if goSumS == "DIRTY 2" {
continue
}