summaryrefslogtreecommitdiff
path: root/doRelease.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 02:55:22 -0600
committerJeff Carr <[email protected]>2024-11-07 02:55:22 -0600
commit5e635873adb191988ebb7ac2d115efd602c31313 (patch)
tree1594029e83c2d8266b6b394017688fd6ee788ca8 /doRelease.go
parent6e16c95fb2d18917233cf58b2b738e45cd045414 (diff)
try to fix self publish of guireleaser
Diffstat (limited to 'doRelease.go')
-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)