Skip to content

Commit 349e4c4

Browse files
committed
py: Add --dirty flag to git describe.
1 parent 6ec835d commit 349e4c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/py-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
git_tag="$(git describe || echo unknown)"
3+
git_tag="$(git describe --dirty || echo unknown)"
44
git_hash="$(git rev-parse --short HEAD 2> /dev/null || echo unknown)"
55
git_files_are_clean=1
66
# Check if there are any modified files.

0 commit comments

Comments
 (0)