summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2011-12-23 15:47:20 +0100
committerMarcel Hellkamp <marc@gsites.de>2011-12-23 15:59:47 +0100
commit7aff08b8861c8fc56cd0eb74018061c8712bc7d6 (patch)
tree820578e8601b65813fd308fcc9e22da08bcd8a69
parent60e85b342cfac223396957a740e9c85be61fa28a (diff)
downloadbottle-7aff08b8861c8fc56cd0eb74018061c8712bc7d6.tar.gz
Fixing release target in Makefile.
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c109ec3..8729d89 100644
--- a/Makefile
+++ b/Makefile
@@ -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