parent
0de08f72ef
commit
da4f5402b3
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue