fix: use Path to be consistent on Windows
ci/woodpecker/push/goreleaser Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-01-18 12:59:54 -06:00
parent 3854458d5d
commit 1528f971fa
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func (m Meta) writeShellEnv(shell string) error {
var tmpl string var tmpl string
switch shell { switch shell {
case "nu": case "nu":
tmpl = "let-env PATH = ($env.PATH | append '%s')\n" tmpl = "let-env Path = ($env.Path | append %q)\n"
case "sh": case "sh":
tmpl = "PATH=$PATH:%s\n" tmpl = "PATH=$PATH:%s\n"
case "ps1": case "ps1":