Unverified Commit 2b468713 authored by Steven's avatar Steven Committed by GitHub

Fix lerna publish for automation token (#28750)

Related to https://github.com/lerna/lerna/issues/2788
parent 31fef9ae
......@@ -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 --no-git-reset --yes
yarn run lerna publish from-git --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