about summary refs log tree commit diff stats
path: root/buildver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'buildver.sh')
-rwxr-xr-xbuildver.sh4
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