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.
1 parent e4a2d11 commit 32b91dbCopy full SHA for 32b91db
scripts/release.js
@@ -346,18 +346,16 @@ async function publishPackage(pkgName, version) {
346
347
step(`Publishing ${pkgName}...`)
348
try {
349
- await runIfNotDry(
+ await run(
350
// note: use of yarn is intentional here as we rely on its publishing
351
// behavior.
352
- 'yarn',
+ 'npm',
353
[
354
'publish',
355
- '--new-version',
356
- version,
357
...(releaseTag ? ['--tag', releaseTag] : []),
358
'--access',
359
'public',
360
- ...(skipGit ? ['--no-commit-hooks', '--no-git-tag-version'] : [])
+ ...(isDryRun ? ['--dry-run'] : [])
361
],
362
{
363
cwd: pkgRoot,
0 commit comments