summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRelease.go')
-rw-r--r--doRelease.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/doRelease.go b/doRelease.go
index fd419a6..20810f5 100644
--- a/doRelease.go
+++ b/doRelease.go
@@ -9,6 +9,7 @@ import (
"time"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/log"
)
@@ -198,7 +199,7 @@ func doRelease() error {
if !me.current.RunAll(retag) {
log.Info("delete failed")
findOk = false
- me.argv.BadExit("--keep-gomod testing", fmt.Errorf("DELETE TAG FAILED %s", check.GetGoPath()))
+ argvpb.BadExit("--keep-gomod testing", fmt.Errorf("DELETE TAG FAILED %s", check.GetGoPath()))
}
// switch to devel branch ?
@@ -206,16 +207,16 @@ func doRelease() error {
// ok?
} else {
// holy crap. die here
- me.argv.BadExit("CheckoutDevel() failed", nil)
+ argvpb.BadExit("CheckoutDevel() failed", nil)
}
retag = append(retag, []string{"git", "tag", "-m", me.releaseReasonS, me.release.version.String()})
retag = append(retag, []string{"git", "push", "origin", me.release.version.String()})
if !me.current.RunAll(retag) {
log.Info("retag failed")
- me.argv.BadExit("--keep-gomod testing", fmt.Errorf("RETAG FAILED %s", check.GetGoPath()))
+ argvpb.BadExit("--keep-gomod testing", fmt.Errorf("RETAG FAILED %s", check.GetGoPath()))
}
- me.argv.BadExit("did --keep-gomod work?", nil) // MUST FAIL HERE
+ argvpb.BadExit("did --keep-gomod work?", nil) // MUST FAIL HERE
} else {
// unwind and re-tag. Now that the go.mod and go.sum are published, revert
// to the development branch