Commit 2a6651b2 authored by Johan Bloemberg's avatar Johan Bloemberg

align admin version with gitlab version

parent fa6c89f3
Pipeline #20585371 passed with stages
in 31 minutes and 42 seconds
......@@ -36,7 +36,7 @@ def get_version():
print('Found commits after last release, versioning with latest sha', file=sys.stderr)
# append git sha to version
return tag_version + '+' + check_output("git rev-parse --short HEAD".split()).strip().decode()
return tag_version + '+' + check_output("git rev-parse HEAD".split()).strip().decode()[:8]
return tag_version
except Exception as e:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment