ignore self update error
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
f935c681ee
commit
cbe45ed22d
|
@ -165,6 +165,11 @@ func createReleaseBox(box *gui.Node) {
|
|||
os.Unsetenv("GO111MODULE")
|
||||
log.Info("TRYING TO SELF UPDATE HERE. cmd =", cmd)
|
||||
err, out := release.guireleaser.status.RunCmd(cmd)
|
||||
if gopath == "go.wit.com/apps/guireleaser" {
|
||||
// ignore errors on updating myself
|
||||
log.Info("IGNORE SELF UPDATE ERROR. cmd =", cmd)
|
||||
err = nil
|
||||
}
|
||||
if err == nil {
|
||||
log.Info("SELF UPDATE OK. out =", out)
|
||||
log.Info("SELF UPDATE WORKED")
|
||||
|
|
Loading…
Reference in New Issue