summaryrefslogtreecommitdiff
path: root/checkReady.go
diff options
context:
space:
mode:
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" {