@betit/orion
Version:
Pluggable microservice framework
22 lines (18 loc) • 486 B
Plain Text
default:
@npm test
release: version changelog publish
version:
@npm version patch -m 'release %s'
changelog:
$(eval version := $(shell grep '"version"' package.json | cut -d'"' -f4))
@node_modules/.bin/github-changes \
--owner betit --repository orion \
--auth --verbose \
--use-commit-body \
--tag-name v$(version) \
--date-format '(YYYY/MM/DD)'
publish:
@git add CHANGELOG.md
@git commit -m 'Update changelog'
@git push --follow-tags
@npm publish --access=public