Update version.py

Bumped to v0.0.6
This commit is contained in:
Oliver 2019-09-13 15:54:12 +10:00 committed by GitHub
parent 21b205aeb1
commit 8fcc1b8448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ Provides information on the current InvenTree version
import subprocess
INVENTREE_SW_VERSION = "0.0.5"
INVENTREE_SW_VERSION = "0.0.6"
def inventreeVersion():
@ -15,7 +15,6 @@ def inventreeVersion():
def inventreeCommitHash():
""" Returns the git commit hash for the running codebase """
# TODO - This doesn't seem to work when running under gunicorn. Why is this?!
commit = str(subprocess.check_output('git rev-parse --short HEAD'.split()), 'utf-8').strip()
return commit