Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Commit

Permalink
feature: skip travis ci when it's the update readme commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenqiang committed Aug 14, 2019
1 parent 86f6d94 commit 2c47167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ git remote remove origin
git remote add origin "https://$GITHUB_TOKEN@github.com/$TRAVIS_REPO_SLUG.git"
git remote -v
git pull origin master
git checkout master
git branch -a

DEBUG=* node tools/setup-ci.js

# update readme
node tools/update-readme.js
git checkout master
git commit -nam 'update readme'
git commit -nam '[skip travis] Update README'
git push origin master --no-verify

npm publish
Expand Down

0 comments on commit 2c47167

Please sign in to comment.