diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,11 +4,12 @@ ALLFILES = $(shell echo bottle.py test/*.py test/views/*.tpl) .PHONY: release install docs test test_all test_25 test_26 test_27 test_31 test_32 2to3 clean -release: test +release: test_all python setup.py --version | egrep -q -v '[a-zA-Z]' # Fail on dev/rc versions - git tag -a -m "Release of $(VERSION)" $(VERSION) # Fail on existing tags - python setup.py sdist register upload # Release to pypi - echo "Don't forget to 'git push --tags'!" + git commit -e -m "Release of $(VERSION)" # Fail on nothing to commit + git tag -a -m "Release of $(VERSION)" $(VERSION) # Fail on existing tags + python setup.py sdist register upload # Release to pypi + echo "Do not forget to: git push --tags" install: python setup.py install |