patch stuff
This commit is contained in:
parent
27b10fdc73
commit
515f862f19
7
Makefile
7
Makefile
|
@ -89,10 +89,15 @@ list-release-notdone:
|
||||||
curl --silent http://localhost:9419/releaseList?readonly=true
|
curl --silent http://localhost:9419/releaseList?readonly=true
|
||||||
|
|
||||||
safe-build: install
|
safe-build: install
|
||||||
forge list --private
|
# forge list --private
|
||||||
wit-test install --verbose
|
wit-test install --verbose
|
||||||
# cd ~/go/src/go.wit.com/lib/xgb/ && time GUIRELEASE_REASON="safe-build" guireleaser --gui gocui --gui-verbose --gui-file ../../toolkits/gocui/gocui.so >/tmp/forge.log 2>&1
|
# cd ~/go/src/go.wit.com/lib/xgb/ && time GUIRELEASE_REASON="safe-build" guireleaser --gui gocui --gui-verbose --gui-file ../../toolkits/gocui/gocui.so >/tmp/forge.log 2>&1
|
||||||
rm -f go.* ; git checkout go.mod ; cd ~/go/src/go.wit.com/lib/xgb/ && time GUIRELEASE_REASON="safe-build" guireleaser --gui andlabs
|
rm -f go.* ; git checkout go.mod ; cd ~/go/src/go.wit.com/lib/xgb/ && time GUIRELEASE_REASON="safe-build" guireleaser --gui andlabs
|
||||||
|
|
||||||
|
build-quick: install
|
||||||
|
wit-test install --verbose
|
||||||
|
rm -f go.* ; git checkout go.mod ; cd ~/go/src/go.wit.com/lib/xgb/ && time GUIRELEASE_REASON="safe-build" guireleaser --gui andlabs quick
|
||||||
|
sudo "wit update"
|
||||||
|
|
||||||
autocomplete:
|
autocomplete:
|
||||||
guireleaser --bash > ~/.local/share/bash-completion/completions/guireleaser
|
guireleaser --bash > ~/.local/share/bash-completion/completions/guireleaser
|
||||||
|
|
|
@ -135,6 +135,19 @@ func rePrepareRelease() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
master := check.GetMasterVersion()
|
||||||
|
lastTag := check.GetLastTag()
|
||||||
|
|
||||||
|
if argv.Quick != nil {
|
||||||
|
// if argv has 'quick' don't do anything
|
||||||
|
// that doesn't actually have a patch
|
||||||
|
if master == lastTag {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
}
|
||||||
|
log.Info("LAST TAG", check.FullPath, master, lastTag)
|
||||||
|
|
||||||
|
// this is detailed. It makes sure the go.* files are absolutely perfect
|
||||||
if !me.forge.Config.IsPrivate(check.GetGoPath()) {
|
if !me.forge.Config.IsPrivate(check.GetGoPath()) {
|
||||||
if err := checkPublishedGodeps(check); err != nil {
|
if err := checkPublishedGodeps(check); err != nil {
|
||||||
// this means the published godeps are no longer up to date
|
// this means the published godeps are no longer up to date
|
||||||
|
@ -148,8 +161,6 @@ func rePrepareRelease() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// if master != lastTag, always increment
|
// if master != lastTag, always increment
|
||||||
master := check.GetMasterVersion()
|
|
||||||
lastTag := check.GetLastTag()
|
|
||||||
if master != lastTag {
|
if master != lastTag {
|
||||||
newmhash := check.GetTagHash(master)
|
newmhash := check.GetTagHash(master)
|
||||||
oldlhash := check.GetTagHash(lastTag)
|
oldlhash := check.GetTagHash(lastTag)
|
||||||
|
@ -186,14 +197,6 @@ func rePrepareRelease() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if argv.Quick != nil {
|
|
||||||
// if argv has 'quick' don't do anything
|
|
||||||
// that doesn't actually have a patch
|
|
||||||
if master == lastTag {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if argv.Protobuf && check.GetRepoType() == "protobuf" {
|
if argv.Protobuf && check.GetRepoType() == "protobuf" {
|
||||||
log.Printf("NEED RELEASE FOR %s err: %v\n", check.GetGoPath(), "because --protobuf")
|
log.Printf("NEED RELEASE FOR %s err: %v\n", check.GetGoPath(), "because --protobuf")
|
||||||
// if --protobuf, this will force upgrade each one
|
// if --protobuf, this will force upgrade each one
|
||||||
|
|
Loading…
Reference in New Issue