try to fix self publish of guireleaser
This commit is contained in:
parent
6e16c95fb2
commit
5e635873ad
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue