summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--findNext.go2
-rw-r--r--prepareRelease.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/findNext.go b/findNext.go
index a17364c..d8051bb 100644
--- a/findNext.go
+++ b/findNext.go
@@ -101,7 +101,7 @@ func runGoClean(check *gitpb.Repo) bool {
// check if the package dependancies changed, if so, re-publish
check.GoDeps = nil
- cmd := []string{"go-clean", "--auto"}
+ cmd := []string{"go-mod-clean"}
log.Info("Running", cmd, "in", check.GoPath)
result := check.RunRealtime(cmd)
if result.Error != nil {
diff --git a/prepareRelease.go b/prepareRelease.go
index 26ce6da..45ecfe1 100644
--- a/prepareRelease.go
+++ b/prepareRelease.go
@@ -29,7 +29,7 @@ func makePrepareRelease() {
check.SetTargetVersion(curver)
}
- // run go-clean on everything not readonly
+ // run go-mod-clean on everything not readonly
all = me.forge.Repos.SortByGoPath()
for all.Scan() {
check := all.Next()
@@ -51,9 +51,9 @@ func makePrepareRelease() {
}
if !runGoClean(check) {
- log.Info("go-clean FAILED. THIS IS BAD.", check.GoPath)
- log.Info("go-clean FAILED. THIS IS BAD.", check.GoPath)
- log.Info("go-clean FAILED. THIS IS BAD.", check.GoPath)
+ log.Info("go-mod-clean FAILED. THIS IS BAD.", check.GoPath)
+ log.Info("go-mod-clean FAILED. THIS IS BAD.", check.GoPath)
+ log.Info("go-mod-clean FAILED. THIS IS BAD.", check.GoPath)
}
}