summaryrefslogtreecommitdiff
path: root/checkReady.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-01 14:30:30 -0600
committerJeff Carr <[email protected]>2024-02-01 14:30:30 -0600
commit8d7f182be7981f5d922b0b6ad3087b8b5490bb60 (patch)
treef7da9c25ef2aa244b497bac0d1b58f0f05120e63 /checkReady.go
parenta0cd9ee4a1b12295a206d31dd314fedaa12425c4 (diff)
more things. slow slog
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'checkReady.go')
-rw-r--r--checkReady.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/checkReady.go b/checkReady.go
index 2a5c2e3..0e7ff27 100644
--- a/checkReady.go
+++ b/checkReady.go
@@ -36,13 +36,17 @@ func CheckReady() bool {
currentS := release.current.status.GetCurrentBranchVersion()
var targetS string
- targetS = "v" + release.version.String()
+ targetS = release.version.String()
+
log.Info("repo:", release.current.String(), goSumS, dirtyS, lastS, currentS, targetS)
- if goSumS == "PRIMATIVE" {
+ if goSumS == "RELEASED" {
return true
}
- if goSumS == "RELEASED" {
+ if goSumS == "PRIMATIVE" {
+ if targetS == lastS {
+ release.current.setGoSumStatus("RELEASED")
+ }
return true
}
if goSumS == "UNCHANGED" {