minor fixes
This commit is contained in:
parent
bb0bec4717
commit
f4c2be6d8d
|
@ -113,8 +113,14 @@ func createReleaseBox(box *gui.Node) {
|
||||||
|
|
||||||
testf := filepath.Join(srcDir, "go.wit.com/apps/guireleaser", "go.sum")
|
testf := filepath.Join(srcDir, "go.wit.com/apps/guireleaser", "go.sum")
|
||||||
if !shell.Exists(testf) {
|
if !shell.Exists(testf) {
|
||||||
log.Info("go.sum missing", testf)
|
pb := me.forge.Repos.FindByGoPath("go.wit.com/apps/guireleaser")
|
||||||
panic("redo go.sum")
|
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")
|
group := me.release.box.NewGroup("Run on Current Repo")
|
||||||
|
|
Loading…
Reference in New Issue