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
|
err = nil
|
||||||
out = "This is a private repo and can not be self checked"
|
out = "This is a private repo and can not be self checked"
|
||||||
} else {
|
} 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
|
// publish go.mod & go.sum for use with go
|
||||||
os.Unsetenv("GO111MODULE")
|
os.Unsetenv("GO111MODULE")
|
||||||
log.Info("TRYING TO SELF UPDATE HERE. cmd =", cmd)
|
log.Info("TRYING TO SELF UPDATE HERE. cmd =", cmd)
|
||||||
|
|
Loading…
Reference in New Issue