From acb7d6a52334de88410986f7feda459a9643d135 Mon Sep 17 00:00:00 2001 From: Andreas Gassmann Date: Wed, 18 Dec 2019 14:49:52 +0000 Subject: [PATCH] fix(ci): access public --- npm-ci-publish-beta-only.sh | 2 +- npm-ci-publish.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/npm-ci-publish-beta-only.sh b/npm-ci-publish-beta-only.sh index fec66aa3b..f091e7246 100644 --- a/npm-ci-publish-beta-only.sh +++ b/npm-ci-publish-beta-only.sh @@ -8,7 +8,7 @@ then echo "cannot publish non-beta version" else echo "version is beta, using --tag next" - npm publish --tag next + npm publish --access public --tag next fi rm .npmrc \ No newline at end of file diff --git a/npm-ci-publish.sh b/npm-ci-publish.sh index f7d2678b9..0fa6c4632 100755 --- a/npm-ci-publish.sh +++ b/npm-ci-publish.sh @@ -5,10 +5,10 @@ VERSION=$(node -pe 'JSON.parse(process.argv[1]).version.indexOf("beta")' "$(cat if [ "$VERSION" = "-1" ] then - npm publish + npm publish --access public else echo "version is beta, using --tag next" - npm publish --tag next + npm publish --access public --tag next fi rm .npmrc \ No newline at end of file