Update setup.py
This commit is contained in:
parent
e4e6a84196
commit
72a644b564
4
setup.py
4
setup.py
@ -71,6 +71,10 @@ class UploadCommand(Command):
|
|||||||
self.status('Uploading the package to PyPi via Twine…')
|
self.status('Uploading the package to PyPi via Twine…')
|
||||||
os.system('twine upload dist/*')
|
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()
|
sys.exit()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user