summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-02 10:43:48 -0600
committerJeff Carr <[email protected]>2024-12-02 10:43:48 -0600
commitc8fdd11ab62ea8f49ea860407c32c4db17633bc7 (patch)
treeaba8ba79ce7822c6613cf6e81ef63a0707044ace /doRelease.go
parente9ecf2ed7e82fafeb3c0a31ad312de2d2cde7344 (diff)
almost automated againv0.22.27
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