Update setup.py

This commit is contained in:
Kenneth Reitz 2018-02-26 08:57:58 -05:00 committed by GitHub
parent e4e6a84196
commit 72a644b564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()