wonder.js
Version:
23 lines • 799 B
Plain Text
files:
- package.json
plugins:
prerelease:
Unit Test:
plugin: bumped-terminal
command: 'sudo npm run test:coverage'
E2e Test:
plugin: bumped-terminal
command: 'sudo npm run test:render && sudo npm run test:pf'
postrelease:
Generating CHANGELOG file:
plugin: bumped-terminal
command: 'sudo npm run version'
Committing new version:
plugin: bumped-terminal
command: 'npm run updateCopyRightVersiona && git add CHANGELOG.md package.json && git commit -m "chore(release): v$newVersion"'
Publishing tag to GitHub:
plugin: bumped-terminal
command: 'git tag v$newVersion && git push origin master:master && git push origin v$newVersion'
Publishing to NPM:
plugin: bumped-terminal
command: sudo npm publish