summaryrefslogtreecommitdiff
path: root/releaseWindow.go
diff options
context:
space:
mode:
Diffstat (limited to 'releaseWindow.go')
-rw-r--r--releaseWindow.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/releaseWindow.go b/releaseWindow.go
index 9c0cc16..9be9aea 100644
--- a/releaseWindow.go
+++ b/releaseWindow.go
@@ -139,6 +139,15 @@ func createReleaseBox(box *gui.Node) {
if doAll(release.current, all) {
log.Info("EVERYTHING OK")
release.current.setGoSumStatus("RELEASED")
+
+ os.Unsetenv("GO111MODULE")
+ gopath := release.current.String()
+ cmd := []string{"go", "get", "-v", gopath + "@" + release.version.String()}
+ log.Info("SHOULD RUN cmd HERE to update myself:", cmd)
+ log.Info("SHOULD RUN cmd HERE:", cmd)
+ log.Info("SHOULD RUN cmd HERE:", cmd)
+
+ // release.current.status.RunCmd(
buttonEnable()
} else {
log.Info("SOMETHING FAILED")