summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRelease.go')
-rw-r--r--doRelease.go4
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
}