diff options
Diffstat (limited to 'doRelease.go')
| -rw-r--r-- | doRelease.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doRelease.go b/doRelease.go index 64679ec..c51f9c2 100644 --- a/doRelease.go +++ b/doRelease.go @@ -23,7 +23,7 @@ func doRelease() bool { log.Warn("version does not start with v.", release.version.String()) return false } - switch release.current.Status.GetGoSumStatus() { + switch release.current.GoState() { case "PRIMATIVE": log.Warn("can do PRIMATIVE", release.current.Name()) case "GOOD": @@ -88,7 +88,7 @@ func doRelease() bool { } log.Info("PUBLISH OK") - release.current.Status.SetGoSumStatus("RELEASED") + release.current.SetGoState("RELEASED") // unwind and re-tag. Now that the go.mod and go.sum are published, revert // to the development branch @@ -178,7 +178,7 @@ func doPublishVersion() bool { if err == nil { log.Info("SELF UPDATE OK. out =", out) log.Info("SELF UPDATE WORKED") - release.current.Status.SetGoSumStatus("RELEASED") + release.current.SetGoState("RELEASED") return true } return false |
