From 02bce38b7820bd1c9d1c0403bf37881f743009ff Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 13 Dec 2024 12:35:39 -0600 Subject: [PATCH] use go-mod-clean --- doRelease.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)