Skip to content

Commit 1f0c58d

Browse files
committed
build: disable --dry-run for npm publish command while keeping the forced snapshot tag set
1 parent 790ac5f commit 1f0c58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/release-cli/src/npm_utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const npmExecPublish = ({
5252
const dryRunStr = dryRun ? '--dry-run' : '';
5353
// TODO: Un-hardcode the tag and dry-run arguments
5454
return execSync(
55-
`npm publish ${packageArchivePath} --tag snapshot --access public --dry-run ${otpStr}`,
55+
`npm publish ${packageArchivePath} --tag snapshot --access public ${otpStr}`,
5656
{ stdio: 'inherit', encoding: 'utf8' }
5757
);
5858
};

0 commit comments

Comments
 (0)