Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Fix npm publish with unsafe-perm
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Nov 5, 2017
1 parent 979fd81 commit d7bcdfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pkg_version=$(jq -r '.version' package.json)

if [[ "$(git log -1 --pretty='%s')" == "${pkg_version}" ]]; then
if [[ -z "$(npm view ${pkg_name}@${pkg_version})" ]]; then
npm publish
npm publish --unsafe-perm
echo
echo "> Published ${pkg_name}@${pkg_version}."
echo
Expand Down

0 comments on commit d7bcdfa

Please sign in to comment.