mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bump version string
This commit is contained in:
parent
1b06d86f59
commit
a424a805e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user