Skip to content

Commit

Permalink
fix(ci): access public
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasGassmann committed Dec 18, 2019
1 parent ac8d00f commit acb7d6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion npm-ci-publish-beta-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions npm-ci-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit acb7d6a

Please sign in to comment.