diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 20:00:26 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 20:00:26 -0600 |
| commit | 9ee828cc3b362cf490d3cd8dd4296ff56a3f85e2 (patch) | |
| tree | 5dcceb8027c85cda530473103f2c55828aec11b7 /doRelease.go | |
| parent | 1d6c67b46cc4d3ee137e3f4ddc6145841732cd7c (diff) | |
hopefully this logic will finally fucking work
Diffstat (limited to 'doRelease.go')
| -rw-r--r-- | doRelease.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doRelease.go b/doRelease.go index 124156a..6fe4765 100644 --- a/doRelease.go +++ b/doRelease.go @@ -63,7 +63,7 @@ func doRelease() bool { return true } me.done = append(me.done, me.current.GetGoPath()) - if !me.forge.FinalGoDepsCheckOk(check, true) { + if err := me.forge.FinalGoDepsCheckOk(check, true); err != nil { msg := fmt.Sprint("the go.mod file is wrong. fix it here?", check.GetGoPath()) badExit(errors.New(msg)) return false @@ -239,7 +239,7 @@ func doReleaseFindNext() bool { // if findFix { // fixGodeps(check) // } - if me.forge.FinalGoDepsCheckOk(check, false) { + if err := me.forge.FinalGoDepsCheckOk(check, false); err == nil { // the go.sum file is ok to release return true } |
