summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2012-10-11 22:55:30 +0200
committerMarcel Hellkamp <marc@gsites.de>2012-10-11 22:56:52 +0200
commit4974e46e23cfb71b9ec892d2efc87ca9df4419aa (patch)
tree5297022269d8e21b9844dbacd19f8c0bca85f175
parent40c82ab537f83b4d16b063330ded2502d0d994c3 (diff)
downloadbottle-4974e46e23cfb71b9ec892d2efc87ca9df4419aa.tar.gz
Makefile: A release always pushes to public repository now.
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8729d89..0f92629 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,12 @@ release: test_all
python setup.py --version | egrep -q -v '[a-zA-Z]' # Fail on dev/rc versions
git commit -e -m "Release of $(VERSION)" # Fail on nothing to commit
git tag -a -m "Release of $(VERSION)" $(VERSION) # Fail on existing tags
+ git push origin HEAD # Fail on out-of-sync upstream
+ git push tag $(VERSION) # Fail on dublicate tag
python setup.py sdist register upload # Release to pypi
- echo "Do not forget to: git push --tags"
+
+push: test_all
+ git push origin HEAD
install:
python setup.py install