fix(ci): release is ignored in all commits

This commit is contained in:
Clark Du 2018-11-24 22:18:44 +00:00
parent 330301cacf
commit d7bd99ec57

View File

@ -115,7 +115,7 @@ jobs:
- run: - run:
name: release name: release
command: | command: |
if [[ $GIT_COMMIT_MSG == *"[skip release]"* ]]; then if [[ $GIT_COMMIT_MSG == *"\[skip release\]"* ]]; then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
yarn release --yes yarn release --yes