minor fixes
This commit is contained in:
parent
bb0bec4717
commit
f4c2be6d8d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue