Bump version string

This commit is contained in:
Oliver Walters 2019-06-13 22:39:57 +10:00
parent 1b06d86f59
commit a424a805e4

View File

@ -4,7 +4,7 @@ Provides information on the current InvenTree version
import subprocess
INVENTREE_SW_VERSION = "0.0.1"
INVENTREE_SW_VERSION = "0.0.2"
def inventreeVersion():
@ -14,6 +14,8 @@ 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