Version: 1.0.1-rc11.0.1-rc21.0.11.0.21.1.0-rc11.1.0-rc21.1.01.1.11.2.01.3.0-rc11.3.02.0.0-rc52.0.02.0.12.1.0-rc12.1.02.2.03.0.0-rc13.0.0-rc23.0.04.0.0-rc14.0.0-rc24.0.04.1.0
image: node:6.11.3
pipelines:
tags:
'**':
- step:
script:
- echo "//${NPM_REGISTRY_URL}/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
- npm whoami
- npm install
- if [[ $BITBUCKET_TAG != *"-"* ]]; then npm publish; else npm publish --tag beta; fi