minor fixes

This commit is contained in:
Jeff Carr 2024-12-01 11:38:15 -06:00
parent bb0bec4717
commit f4c2be6d8d
1 changed files with 8 additions and 2 deletions

View File

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