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

@ -112,10 +112,16 @@ func createReleaseBox(box *gui.Node) {
me.goSrcPwd.SetText(srcDir)
testf := filepath.Join(srcDir, "go.wit.com/apps/guireleaser", "go.sum")
if !shell.Exists(testf) {
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")
grid := group.NewGrid("buildOptions", 0, 0)