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")