fix(ci): release is ignored in all commits

This commit is contained in:
Clark Du 2018-11-24 22:27:44 +00:00
parent d7bd99ec57
commit b3ff7a105f

View File

@ -115,7 +115,7 @@ jobs:
- run:
name: release
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.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
yarn release --yes