Skip to content

Commit

Permalink
Specify public access when publishing
Browse files Browse the repository at this point in the history
This ensures publishing to a package scope, like @theintern, works with
a free account.
  • Loading branch information
jason0x43 committed Jul 6, 2017
1 parent df87eb4 commit c7114a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intern-dev-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ if (!npmTag) {

// Publish the package from <rootDir>/<tmpDir>/<publishDir> or <rootDir>/<tmpDir>/<buildDir>
process.chdir(publishDir);
exec(`npm publish --tag ${npmTag}`);
exec(`npm publish --tag ${npmTag} --access public`);

// Update the original repo with the new branch and tag pointers
pushBranches.map(function (branch) {
Expand Down

0 comments on commit c7114a6

Please sign in to comment.