Repository: gohugoio/hugo (language: go)

Issue:
Add HUGO_ENV to the os/exec environment
References: 
- <https://discourse.gohugo.io/t/0-91-0-process-env-variable-no-longer-available-from-postcss/37090>
- <https://github.com/gohugoio/hugo/blob/master/commands/commands.go#L265-L268>

```go
//  Used by Netlify and Forestry
if v, found := os.LookupEnv("HUGO_ENV"); found {
  return v
}
```

cc/ @regisphilibert 


Discussion / hints:

Fix patch:
diff --git a/common/hugo/hugo.go b/common/hugo/hugo.go
index c8db18afee8..5bbfe7c6538 100644
--- a/common/hugo/hugo.go
+++ b/common/hugo/hugo.go
@@ -109,6 +109,7 @@ func GetExecEnviron(workDir string, cfg config.Provider, fs afero.Fs) []string {
 	config.SetEnvVars(&env, "NODE_PATH", nodepath)
 	config.SetEnvVars(&env, "PWD", workDir)
 	config.SetEnvVars(&env, "HUGO_ENVIRONMENT", cfg.GetString("environment"))
+	config.SetEnvVars(&env, "HUGO_ENV", cfg.GetString("environment"))
 
 	if fs != nil {
 		fis, err := afero.ReadDir(fs, files.FolderJSConfig)


Test patch: