From f4c2be6d8d85c2ff71c70057077cdcd450537b6b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 11:38:15 -0600 Subject: [PATCH] minor fixes --- releaseBox.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/releaseBox.go b/releaseBox.go index cef42de..e4de30c 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -113,8 +113,14 @@ func createReleaseBox(box *gui.Node) { testf := filepath.Join(srcDir, "go.wit.com/apps/guireleaser", "go.sum") if !shell.Exists(testf) { - log.Info("go.sum missing", testf) - panic("redo go.sum") + pb := me.forge.Repos.FindByGoPath("go.wit.com/apps/guireleaser") + if pb != nil { + pb.RedoGoMod() + } + if !shell.Exists(testf) { + log.Info("go.sum missing", testf) + panic("redo go.sum") + } } group := me.release.box.NewGroup("Run on Current Repo")