diff options
| author | Jeff Carr <[email protected]> | 2024-02-18 17:55:59 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-18 17:55:59 -0600 |
| commit | a7619389df4fc214e52e3db7c8336514bdcc82b0 (patch) | |
| tree | 9f6cbf2b2acbfc28327466bd143092207f70f3cd /doRelease.go | |
| parent | 08c7765cc70bae20479ad0aa1897b6a4cfc3613a (diff) | |
attempting to fix guireleaser
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 |
