aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-01-06 15:28:59 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-01-06 15:28:59 -0800
commit6b1235a3ab4b1f93d3b5e2b78b77658013637aa2 (patch)
tree29efcdb3e242400efe70f4119c1800bf12102fba
parentd42fd94fa20d90691c4f63e7f299000ba9bb5b0e (diff)
downloadcryptography-6b1235a3ab4b1f93d3b5e2b78b77658013637aa2.tar.gz
cryptography-6b1235a3ab4b1f93d3b5e2b78b77658013637aa2.tar.bz2
cryptography-6b1235a3ab4b1f93d3b5e2b78b77658013637aa2.zip
Simplify
-rw-r--r--tasks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index bb30194a..5db7a617 100644
--- a/tasks.py
+++ b/tasks.py
@@ -44,8 +44,9 @@ def release(version):
update_version("docs/conf.py", "release", version)
invoke.run("git commit -am 'Bump version numbers for release.'")
+ invoke.run("git push")
invoke.run("git tag -s {}".format(version))
- invoke.run("git push --all --tags")
+ invoke.run("git push --tags")
invoke.run("python setup.py sdist bdist_wheel")
invoke.run("twine upload -s dist/cryptography-{}*".format(version))