summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doRelease.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/doRelease.go b/doRelease.go
index 6a9a7f9..34159c3 100644
--- a/doRelease.go
+++ b/doRelease.go
@@ -171,6 +171,12 @@ func doPublishVersion() bool {
err = nil
out = "This is a private repo and can not be self checked"
} else {
+ if gopath == "go.wit.com/apps/guireleaser" {
+ log.Info("CAN NOT SELF UPDATE. cmd =", cmd)
+ log.Info("go get must be run from somewhere else other than guireleaser")
+ log.Info("fix this!")
+ os.Exit(-1)
+ }
// publish go.mod & go.sum for use with go
os.Unsetenv("GO111MODULE")
log.Info("TRYING TO SELF UPDATE HERE. cmd =", cmd)