From f2252cc583c85217c571a510285e574eebe20f59 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 9 Oct 2025 01:42:38 -0500 Subject: set & unset GO111 --- doPublish.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doPublish.go') diff --git a/doPublish.go b/doPublish.go index c3ac3f9..0b72ee6 100644 --- a/doPublish.go +++ b/doPublish.go @@ -48,10 +48,12 @@ func doPublish() error { time.Sleep(time.Second) me.forge.Repos.Load() + os.Setenv("GO111MODULE", "off") if err := doInstall(); err != nil { log.Info("doInstall() failed", err) me.sh.BadExit("merge failed", nil) } + os.Unsetenv("GO111MODULE") if os.Getenv("GUIRELEASE_REASON") == "" { os.Setenv("GUIRELEASE_REASON", "automated") -- cgit v1.2.3