api change
This commit is contained in:
parent
03daf07ec2
commit
2d5a45476c
7
Makefile
7
Makefile
|
@ -58,9 +58,6 @@ findNext:
|
||||||
showNext:
|
showNext:
|
||||||
curl --silent http://localhost:9419/showNext
|
curl --silent http://localhost:9419/showNext
|
||||||
|
|
||||||
testNext:
|
|
||||||
curl --silent http://localhost:9419/testNext
|
|
||||||
|
|
||||||
doRelease:
|
doRelease:
|
||||||
reset
|
reset
|
||||||
make showNext
|
make showNext
|
||||||
|
@ -101,3 +98,7 @@ build-quick: install
|
||||||
|
|
||||||
autocomplete:
|
autocomplete:
|
||||||
guireleaser --bash > ~/.local/share/bash-completion/completions/guireleaser
|
guireleaser --bash > ~/.local/share/bash-completion/completions/guireleaser
|
||||||
|
|
||||||
|
test-build:
|
||||||
|
-wit-test install --verbose
|
||||||
|
rm ~/go/bin/forged
|
||||||
|
|
|
@ -54,7 +54,7 @@ func doRelease() error {
|
||||||
log.Info("doRelease() WARNING. should have never gotten here. return true. already done", check.GetGoPath())
|
log.Info("doRelease() WARNING. should have never gotten here. return true. already done", check.GetGoPath())
|
||||||
log.Info("doRelease() WARNING. should have never gotten here. return true. already done", check.GetGoPath())
|
log.Info("doRelease() WARNING. should have never gotten here. return true. already done", check.GetGoPath())
|
||||||
log.Info("doRelease() WARNING. should have never gotten here. return true. already done", check.GetGoPath())
|
log.Info("doRelease() WARNING. should have never gotten here. return true. already done", check.GetGoPath())
|
||||||
check.Reload()
|
check.ReloadCheck()
|
||||||
return fmt.Errorf("already released %s", check.GetGoPath())
|
return fmt.Errorf("already released %s", check.GetGoPath())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ import (
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
|
|
||||||
"go.wit.com/lib/gadgets"
|
"go.wit.com/lib/gadgets"
|
||||||
"go.wit.com/lib/gui/repolist"
|
|
||||||
"go.wit.com/lib/gui/shell"
|
"go.wit.com/lib/gui/shell"
|
||||||
"go.wit.com/lib/protobuf/gitpb"
|
"go.wit.com/lib/protobuf/gitpb"
|
||||||
)
|
)
|
||||||
|
@ -33,7 +32,7 @@ type releaseStruct struct {
|
||||||
checkDirtyB *gui.Node
|
checkDirtyB *gui.Node
|
||||||
sendVersionB *gui.Node
|
sendVersionB *gui.Node
|
||||||
checkSafeB *gui.Node
|
checkSafeB *gui.Node
|
||||||
whitelist map[string]*repolist.RepoRow
|
// whitelist map[string]*repolist.RepoRow
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *autoType) Disable() {
|
func (w *autoType) Disable() {
|
||||||
|
@ -127,11 +126,6 @@ func createReleaseBox(box *gui.Node) {
|
||||||
group := me.release.box.NewGroup("Run on Current Repo")
|
group := me.release.box.NewGroup("Run on Current Repo")
|
||||||
grid := group.NewGrid("buildOptions", 0, 0)
|
grid := group.NewGrid("buildOptions", 0, 0)
|
||||||
|
|
||||||
/*
|
|
||||||
grid.NewButton("whitelist", func() {
|
|
||||||
})
|
|
||||||
*/
|
|
||||||
|
|
||||||
grid.NextRow()
|
grid.NextRow()
|
||||||
|
|
||||||
group = me.release.box.NewGroup("Publish until done")
|
group = me.release.box.NewGroup("Publish until done")
|
||||||
|
@ -171,7 +165,7 @@ func skipToNext() error {
|
||||||
me.forge.ScanGoSrc()
|
me.forge.ScanGoSrc()
|
||||||
me.found = new(gitpb.Repos)
|
me.found = new(gitpb.Repos)
|
||||||
|
|
||||||
me.current.Reload()
|
me.current.ReloadCheck()
|
||||||
me.forge.SetConfigSave(true)
|
me.forge.SetConfigSave(true)
|
||||||
me.forge.ConfigSave()
|
me.forge.ConfigSave()
|
||||||
log.Info("sleep 2")
|
log.Info("sleep 2")
|
||||||
|
|
Loading…
Reference in New Issue