Commit d21c8a70 authored by Michal Čihař's avatar Michal Čihař

Always describe git revision so that it works even with swallow checkouts

parent 24dd2ebb
......@@ -51,7 +51,7 @@ if RUNNING_GIT:
try:
import git
# Describe current checkout
GIT_VERSION = git.Repo(get_root_dir()).git.describe()
GIT_VERSION = git.Repo(get_root_dir()).git.describe(always=True)
# Check if we're close to release tag
parts = GIT_VERSION.split('-')
......
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