Skip to content

Commit

Permalink
Bump version and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
titu1994 committed Jun 5, 2019
1 parent c7423af commit b3d3905
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_version():


class UploadCommand(Command):
description = 'Build, install and upload package with cleanup.'
description = 'Build, install and upload tag to git with cleanup.'
user_options = []

def run(self):
Expand All @@ -69,9 +69,6 @@ def run(self):
self.status('Building Source and Wheel (universal) distribution...')
os.system('{0} setup.py sdist bdist_wheel'.format(sys.executable))

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(get_version()))
os.system('git push --tags')
Expand Down

0 comments on commit b3d3905

Please sign in to comment.