Browse files

Makefile: A release always pushes to public repository now.

  • Loading branch information...
defnull committed Oct 11, 2012
1 parent 611d997 commit e371da5e2e1f6cda2edb2f062bb0824c2330b06c
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
@@ -8,8 +8,12 @@ release: test_all
python --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 sdist register upload # Release to pypi
- echo "Do not forget to: git push --tags"
+push: test_all
+ git push origin HEAD
python install

0 comments on commit e371da5

Please sign in to comment.