diff --git a/VERSION.txt b/VERSION.txt index caed21a73a..4cc8a67cd0 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -Beta +Beta-GIT diff --git a/src/utils/utils.py b/src/utils/utils.py index a8065ab41c..3ffef26c8f 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -281,7 +281,7 @@ def get_evennia_version(): """ try: f = open(settings.BASE_PATH + os.sep + "VERSION.txt", 'r') - return "%s-r%s" % (f.read().strip(), os.popen("git log --format=\"%H\" -n 1").read().strip()) + return "%s-%s" % (f.read().strip(), os.popen("git rev-parse --short HEAD").read().strip()) except IOError: return "Unknown version"