diff options
author | Marcel Hellkamp <marc@gsites.de> | 2011-12-23 15:47:20 +0100 |
---|---|---|
committer | Marcel Hellkamp <marc@gsites.de> | 2011-12-23 15:59:47 +0100 |
commit | 7aff08b8861c8fc56cd0eb74018061c8712bc7d6 (patch) | |
tree | 820578e8601b65813fd308fcc9e22da08bcd8a69 | |
parent | 60e85b342cfac223396957a740e9c85be61fa28a (diff) | |
download | bottle-7aff08b8861c8fc56cd0eb74018061c8712bc7d6.tar.gz |
Fixing release target in 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 |