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