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 a63a842 commit 0a733b8Copy full SHA for 0a733b8
bin/semantic-prerelease.js
@@ -7,7 +7,7 @@ const branch = process.env.TRAVIS_BRANCH || process.env.GIT_LOCAL_BRANCH;
7
const branchTags = config.release && config.release.branchTags;
8
const tag = branchTags && branchTags[branch];
9
const dryRun = process.argv.find(arg => /^(--dry-run|-n)$/.test(arg));
10
-const pub = process.argv.find(arg => /^(--public)$/.test(arg));
+const public = process.argv.find(arg => /^(--public)$/.test(arg));
11
const validate = process.argv.find(arg => /^(--validate|-v)$/.test(arg));
12
const command = [ 'npm', 'publish' ];
13
@@ -20,7 +20,7 @@ if (tag) {
20
command.push('--tag', tag);
21
}
22
23
-if (pub) {
+if (public) {
24
command.push('--access=public');
25
26
0 commit comments