We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--dry-run
1 parent e18a85c commit bffc639Copy full SHA for bffc639
packages/release-cli/src/npm_utils.ts
@@ -50,10 +50,9 @@ export const npmExecPublish = ({
50
51
const otpStr = otp ? `--otp ${otp}` : '';
52
const dryRunStr = dryRun ? '--dry-run' : '';
53
- console.log(dryRunStr);
54
- // TODO: Un-hardcode the tag and dry-run arguments
+ // TODO: Un-hardcode the tag argument
55
return execSync(
56
- `npm publish ${packageArchivePath} --tag snapshot --access public --dry-run ${otpStr}`,
+ `npm publish ${packageArchivePath} --tag snapshot --access public ${dryRunStr} ${otpStr}`,
57
{ stdio: 'inherit', encoding: 'utf8' }
58
);
59
};
0 commit comments