diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-05-03 21:15:32 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-05-03 21:15:32 +0100 |
| commit | 349e4c4a2f816127cbf5c8a3e43f1b089cba5baa (patch) | |
| tree | 18a27f02f6e26bb85acd5b01644b29a0ac18c5e9 /py | |
| parent | 6ec835dfef90a2f940a24b126cba8e3d8ede1ef2 (diff) | |
py: Add --dirty flag to git describe.
Diffstat (limited to 'py')
| -rwxr-xr-x | py/py-version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/py-version.sh b/py/py-version.sh index 53063381f..42474ef6a 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. |
