From 72a644b564a66b1d338711019ad693876ec63fe5 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 26 Feb 2018 08:57:58 -0500 Subject: [PATCH] Update setup.py --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 37ed96a..930439b 100644 --- a/setup.py +++ b/setup.py @@ -71,6 +71,10 @@ class UploadCommand(Command): self.status('Uploading the package to PyPi via Twine…') os.system('twine upload dist/*') + self.status('Pushing git tags…') + os.system('git tag v{0}'.format(about['__version__'])) + os.system('git push --tags') + sys.exit()