From a7619389df4fc214e52e3db7c8336514bdcc82b0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 18 Feb 2024 17:55:59 -0600 Subject: attempting to fix guireleaser --- doRelease.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doRelease.go') 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 -- cgit v1.2.3