oclif / semantic-release

shared semantic-release config for oclif projects
MIT License
4 stars 5 forks source link

support shell-specific features like '&&' in npm scripts #50

Closed jayree closed 4 years ago

jayree commented 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 });

shell: true is needed to support shell-specific features see: https://github.com/sindresorhus/execa#execacommandcommand-options

Thanks!

oclif-bot commented 4 years ago

:tada: This issue has been resolved in version 3.1.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: