21 lines
315 B
Makefile
Raw Normal View History

2014-10-23 00:59:11 +04:00
.PHONY: release major minor patch
VERSION?=minor
2014-07-28 19:18:52 +01:00
release:
2014-10-23 00:59:11 +04:00
@bumpversion $(VERSION)
@git checkout master
@git merge develop
@git checkout develop
2014-07-28 19:18:52 +01:00
@git push --all
@git push --tags
@git checkout develop
2014-10-23 00:59:11 +04:00
major:
make release VERSION=major
minor:
make release VERSION=minor
patch:
make release VERSION=patch