UNPKG

486 BPlain TextView Raw
1default:
2 @npm test
3
4release: version changelog publish
5
6version:
7 @npm version patch -m 'release %s'
8
9changelog:
10 $(eval version := $(shell grep '"version"' package.json | cut -d'"' -f4))
11 @node_modules/.bin/github-changes \
12 --owner betit --repository orion \
13 --auth --verbose \
14 --use-commit-body \
15 --tag-name v$(version) \
16 --date-format '(YYYY/MM/DD)'
17
18publish:
19 @git add CHANGELOG.md
20 @git commit -m 'Update changelog'
21 @git push --follow-tags
22 @npm publish --access=public
\No newline at end of file