From d7bcdfac05e603c74b888762793fadd8a4024e76 Mon Sep 17 00:00:00 2001 From: Evan Sosenko Date: Sat, 4 Nov 2017 19:12:17 -0700 Subject: [PATCH] Fix npm publish with unsafe-perm --- .circleci/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/publish.sh b/.circleci/publish.sh index 1321983..cb4c73c 100755 --- a/.circleci/publish.sh +++ b/.circleci/publish.sh @@ -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