summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xpy/py-version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/py-version.sh b/py/py-version.sh
index 53063381f5..42474ef6a5 100755
--- a/py/py-version.sh
+++ b/py/py-version.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-git_tag="$(git describe || echo unknown)"
+git_tag="$(git describe --dirty || echo unknown)"
git_hash="$(git rev-parse --short HEAD 2> /dev/null || echo unknown)"
git_files_are_clean=1
# Check if there are any modified files.