Skip to content

Commit

Permalink
chore: add --access public
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanwww committed Nov 9, 2024
1 parent fc559bf commit a699778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function release() {
const prerelease = semver.prerelease(version);
const npmTag = getNpmTag(prerelease);

const cmd = `pnpm publish --filter ${packageName} --tag ${npmTag} --no-git-checks`;
const cmd = `pnpm publish --filter ${packageName} --tag ${npmTag} --access public --no-git-checks`;
console.info(cmd);
child.execSync(cmd, { encoding: 'utf-8', stdio: 'inherit' });
}
Expand Down

0 comments on commit a699778

Please sign in to comment.