From cbe45ed22d18f3f5f7ea7b0b2e5e8cb02a92ea9d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 2 Feb 2024 17:26:52 -0600 Subject: [PATCH] ignore self update error Signed-off-by: Jeff Carr --- releaseWindow.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/releaseWindow.go b/releaseWindow.go index f073420..e60ed7c 100644 --- a/releaseWindow.go +++ b/releaseWindow.go @@ -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")