Closed jayree closed 4 years ago
@RasPhilCo to support shell-specific features like '&&' in scripts e.g:
"version": "oclif-dev readme && git add README.md"
please update the following line: https://github.com/oclif/semantic-release/blob/0dd591b0216109d877763a6712861fecfae4a0d2/scripts/exec.js#L7 to match: execa.commandSync(cmd, { env: npmRunPath.env(), stdio: 'inherit', shell: true, ...opts });
execa.commandSync(cmd, { env: npmRunPath.env(), stdio: 'inherit', shell: true, ...opts });
shell: true is needed to support shell-specific features see: https://github.com/sindresorhus/execa#execacommandcommand-options
shell: true
Thanks!
:tada: This issue has been resolved in version 3.1.5 :tada:
The release is available on:
v3.1.5
Your semantic-release bot :package::rocket:
@RasPhilCo to support shell-specific features like '&&' in scripts e.g:
"version": "oclif-dev readme && git add README.md"
please update the following line: https://github.com/oclif/semantic-release/blob/0dd591b0216109d877763a6712861fecfae4a0d2/scripts/exec.js#L7 to match:
execa.commandSync(cmd, { env: npmRunPath.env(), stdio: 'inherit', shell: true, ...opts });
shell: true
is needed to support shell-specific features see: https://github.com/sindresorhus/execa#execacommandcommand-optionsThanks!