Skip to content

Commit

Permalink
build: fixup publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Jul 5, 2018
1 parent 47087bb commit 21aceca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const publisher = new Listr([
title: `Publishing: ${`${name}@${version}`.cyan} (beta=${isBeta ? 'true'.green : 'red'.red})`,
task: async () => {
try {
await spawnPromise('npm', ['publish', `--access=public${isBeta ? ' --tag=beta' : ''}`], {
await spawnPromise('npm', ['publish', '--access=public', `${isBeta ? '--tag=beta' : ''}`], {
cwd: dir,
});
} catch (err) {
Expand Down

0 comments on commit 21aceca

Please sign in to comment.