1 |
|
2 |
|
3 | set -e
|
4 | set -u
|
5 | set -o pipefail
|
6 |
|
7 | git checkout master
|
8 | npm version patch
|
9 | VERSION=`cat package.json | json version`
|
10 | node bin/index.js -o lalitkapoor -r github-changes --only-pulls -v -a --use-commit-body --reverse-changes -n v$VERSION
|
11 | git add CHANGELOG.md
|
12 | git commit --amend --no-edit
|
13 | git push origin master
|
14 | git push origin --tags
|
15 | npm publish
|