Add no-verify-access for lerna

parent e314019e
......@@ -33,12 +33,14 @@ const cwd = process.cwd()
path.join(nativePackagesDir, platform, 'package.json'),
JSON.stringify(pkg, null, 2)
)
execSync(
`npm publish ${path.join(
nativePackagesDir,
platform
)} --access public --tag next-11`
)
// Publish failed after publishing swc packages so skip to allow
// retrying
// execSync(
// `npm publish ${path.join(
// nativePackagesDir,
// platform
// )} --access public --tag next-11`
// )
// lerna publish in next step will fail if git status is not clean
execSync(
`git update-index --skip-worktree ${path.join(
......
......@@ -15,7 +15,7 @@ fi
if [[ $(git describe --exact-match 2> /dev/null || :) =~ -canary ]];
then
echo "Publishing canary"
yarn run lerna publish from-git --npm-tag canary --no-git-reset --yes
yarn run lerna publish from-git --npm-tag canary --no-git-reset --no-verify-access --yes
# Make sure to exit script with code 1 if publish failed
if [[ ! $? -eq 0 ]];then
......@@ -27,7 +27,7 @@ fi
if [[ ! $(git describe --exact-match 2> /dev/null || :) =~ -canary ]];then
echo "Publishing stable"
yarn run lerna publish from-git --npm-tag next-11 --no-git-reset --yes
yarn run lerna publish from-git --npm-tag next-11 --no-git-reset --no-verify-access --yes
# Make sure to exit script with code 1 if publish failed
if [[ ! $? -eq 0 ]];then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment