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:55:30 +0200
commite371da5e2e1f6cda2edb2f062bb0824c2330b06c (patch)
treebdd1ec23891ba8de125c619aab32d6caae41d5ef
parent611d997d93c701c8e10f6f8a162023cedc92b003 (diff)
downloadbottle-e371da5e2e1f6cda2edb2f062bb0824c2330b06c.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 7ba4722..9bc4d83 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