diff options
| author | Jeff Carr <[email protected]> | 2024-12-13 04:13:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-13 04:13:33 -0600 |
| commit | da4f5402b38698252a9beb75ae14ae6f97319691 (patch) | |
| tree | 87b34f7a984fae85bb87057f66466f16b87d67ba | |
| parent | 0de08f72ef0830f5d0e196f51bd81e5f1b305d9f (diff) | |
works?
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | findNext.go | 2 | ||||
| -rw-r--r-- | prepareRelease.go | 8 |
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) } } |
