summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRelease.go')
-rw-r--r--doRelease.go19
1 files changed, 1 insertions, 18 deletions
diff --git a/doRelease.go b/doRelease.go
index 0884568..2485817 100644
--- a/doRelease.go
+++ b/doRelease.go
@@ -8,8 +8,6 @@ import (
"strings"
"time"
- "github.com/go-cmd/cmd"
-
"go.wit.com/lib/gui/shell"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/log"
@@ -140,20 +138,6 @@ func doRelease() bool {
}
}
- pb := me.forge.FindByGoPath(me.current.GetGoPath())
- if pb != nil {
- // pb.UpdatePublished()
- /* remove. earlier protected against nil
- if !pb.IsPrimitive() {
- loop := pb.Published.SortByGoPath()
- for loop.Scan() {
- t := loop.Next()
- log.Info("new Published dep:", t.GetGoPath(), t.GetVersion())
- }
- }
- */
- }
-
log.Info("PUBLISH OK")
// me.current.SetGoState("RELEASED")
@@ -267,7 +251,6 @@ func doPublishVersion() bool {
}
// try to pull from google
- var result cmd.Status
if gopath == me.startRepo.GetGoPath() {
log.Info("CAN NOT SELF UPDATE. cmd =", docmd)
log.Info("go get must be run from somewhere else other than startRepo")
@@ -278,7 +261,7 @@ func doPublishVersion() bool {
// publish go.mod & go.sum for use with go
os.Unsetenv("GO111MODULE")
log.Info("TRYING TO SELF UPDATE HERE. cmd =", docmd)
- result = me.startRepo.Run(docmd)
+ result := me.startRepo.Run(docmd)
if result.Error != nil {
log.Info("SELF UPDATE FAILED. error =", result.Error)