summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRelease.go')
-rw-r--r--doRelease.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/doRelease.go b/doRelease.go
index c12adb0..64926af 100644
--- a/doRelease.go
+++ b/doRelease.go
@@ -161,6 +161,11 @@ func doReleaseFindNext() bool {
if findNext() {
log.Info("findNext() found something")
} else {
+ // this means findNext() didn't find anything but there are
+ // still packages to release. start trying to fix the go.sum files
+ if findCounter != 0 {
+ findFix = true
+ }
log.Info("findNext() could not find anything")
return false
}
@@ -169,6 +174,9 @@ func doReleaseFindNext() bool {
log.Info("boo, you didn't git clone", me.current.GoPath())
return false
}
+ if findFix {
+ fixGodeps(me.current)
+ }
if me.forge.FinalGoDepsCheckOk(check) {
// the go.sum file is ok to release
return true