diff --git a/scripts/publish-native.js b/scripts/publish-native.js index 49618472d14b5..41b895f1e94f3 100755 --- a/scripts/publish-native.js +++ b/scripts/publish-native.js @@ -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( diff --git a/scripts/publish-release.sh b/scripts/publish-release.sh index f4a7155991dd6..b72adaeb396c7 100755 --- a/scripts/publish-release.sh +++ b/scripts/publish-release.sh @@ -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