diff options
| author | Jeff Carr <[email protected]> | 2025-10-09 01:42:38 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-09 01:42:38 -0500 |
| commit | f2252cc583c85217c571a510285e574eebe20f59 (patch) | |
| tree | 78f7ba84b9a6429764848b75005a0ffb45aa3b7e /doPublish.go | |
| parent | 3cee0f0354f21889d454dbc4867f963020457a18 (diff) | |
set & unset GO111v0.1.28
Diffstat (limited to 'doPublish.go')
| -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") |
