diff options
Diffstat (limited to 'buildver.sh')
-rwxr-xr-x | buildver.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildver.sh b/buildver.sh new file mode 100755 index 0000000..be2517b --- /dev/null +++ b/buildver.sh @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -d .git ]; then + git describe --tags | tr -d '\n' +fi |