Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
PH111P committed Mar 1, 2021
1 parent 1c33c4e commit c86faf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions powerline/version.py
Expand Up @@ -7,9 +7,4 @@
__version__ = "2.8.2"

def get_version():
try:
return __version__ + '.dev9999+git.' + str(subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip())
except Exception:
print_exc()
return __version__

return __version__
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -58,7 +58,7 @@ def compile_client():

setup(
name='powerline-status',
version='2.7',
version=get_version(),
description='The ultimate statusline/prompt utility.',
long_description=README,
classifiers=[
Expand Down

0 comments on commit c86faf2

Please sign in to comment.