summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRelease.go')
-rw-r--r--doRelease.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/doRelease.go b/doRelease.go
index fd2aa0e..4c19b98 100644
--- a/doRelease.go
+++ b/doRelease.go
@@ -11,6 +11,7 @@ import (
"github.com/go-cmd/cmd"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/protobuf/forgepb"
"go.wit.com/log"
)
@@ -193,9 +194,10 @@ func doRelease() bool {
badExit(errors.New(msg))
}
- // it's necessary to recreate the the files here
- // safe to do this here. everything has been published
- fixGodeps(check)
+ me.forge.ConfigSave()
+ cmd := []string{"forge", "--delete", check.GetGoPath()}
+ shell.RunRealtime(cmd)
+ me.forge = forgepb.Init()
// update the values in the GUI
me.current.NewScan()