Fixed plugin.sh
This commit is contained in:
parent
560039fa3c
commit
30473554e2
|
@ -29,7 +29,7 @@ if [[ "${PLUGIN_ACTIONS}" =~ '(^|,)publish(,|$)' ]]; then
|
|||
if [ "${PLUGIN_SCOPE:-}" = "" ]; then
|
||||
npm config set registry ${REGISTRY}
|
||||
else
|
||||
npm config set ${PLUGIN_SCOPE}:registry ${REGISTRY}
|
||||
npm config set @${PLUGIN_SCOPE}:registry ${REGISTRY}
|
||||
fi
|
||||
|
||||
npm config set -- $(echo ${REGISTRY} | sed -Ee "s/^https?://"):_authToken "${PLUGIN_TOKEN}"
|
||||
|
|
Loading…
Reference in New Issue