You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Node version (or tell us if you're using electron or some other framework):
ShellJS version (the most recent version/Github branch you see the bug on):
Description of the bug:
I'm creating an auto merge and publish for our CI process. When I get to publish I want to execute the following command:
shell.exec(`npm version prepatch --preid=beta`);
But it seems that the --preid argument is not passed correctly because the resulting version number will won't have the 'beta' preid. If I run this same command inside my terminal, then it works, just okay. Any idea is much appreciated, because I'm starting to pull out my hair right now, because of this.
The text was updated successfully, but these errors were encountered:
Okay, I found the solution/problem. Somehow, some time ago during my struggling I installed a package called publish. Which has a dependency/requires firstname.lastname@example.org.... So... I had a locally installed npm inside node_modules with version 2.x.x and that was used by shelljs -.-'