diff options
| -rw-r--r-- | doPublish.go | 2 |
1 files changed, 2 insertions, 0 deletions
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") |
