py: Add --dirty flag to git describe.
This commit is contained in:
parent
6ec835dfef
commit
349e4c4a2f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user