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