diff --git a/doRelease.go b/doRelease.go index d9aa51d..182bc30 100644 --- a/doRelease.go +++ b/doRelease.go @@ -203,7 +203,9 @@ func doPublishVersion() bool { if !shell.Exists(testf) { pb := me.forge.Repos.FindByGoPath("go.wit.com/apps/guireleaser") if pb != nil { - pb.RedoGoMod() // hack for reset on guireleaser while publishing + if err := pb.RunStrict([]string{"go-mod-clean"}); err != nil { + log.Info("go-mod-clean failed", err) + } } if !shell.Exists(testf) { log.Info("go.sum missing", testf)