UNPKG

node-publisher

Version:

A configurable release automation tool inspired by create-react-app and Travis CI.

22 lines (17 loc) 489 B
--- 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 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'