mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
Update version.py
Bumped to v0.0.6
This commit is contained in:
@ -4,7 +4,7 @@ Provides information on the current InvenTree version
|
|||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
INVENTREE_SW_VERSION = "0.0.5"
|
INVENTREE_SW_VERSION = "0.0.6"
|
||||||
|
|
||||||
|
|
||||||
def inventreeVersion():
|
def inventreeVersion():
|
||||||
@ -15,7 +15,6 @@ def inventreeVersion():
|
|||||||
def inventreeCommitHash():
|
def inventreeCommitHash():
|
||||||
""" Returns the git commit hash for the running codebase """
|
""" 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()
|
commit = str(subprocess.check_output('git rev-parse --short HEAD'.split()), 'utf-8').strip()
|
||||||
|
|
||||||
return commit
|
return commit
|
||||||
|
Reference in New Issue
Block a user