Created
November 11, 2018 00:50
-
-
Save vecerek/0e3ab3315a15f90aa3ff07ae8f72f16c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rollback: true | |
| prepare: | |
| - git diff-index --quiet HEAD -- | |
| - git checkout master | |
| - git pull --rebase | |
| - '[[ -f .nvmrc ]] && ./node_modules/.bin/check-node-version --node $(cat .nvmrc)' | |
| - yarn install | |
| test: | |
| - yarn travis | |
| build: | |
| - yarn build | |
| - git diff --staged --quiet || git commit -am "Update build file" | |
| after_publish: | |
| - git push --follow-tags origin master:master | |
| changelog: | |
| - ./node_modules/.bin/offline-github-changelog > CHANGELOG.md | |
| - git add CHANGELOG.md | |
| - git commit --allow-empty -m "Update changelog" | |
| - git push origin master:master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment