summaryrefslogtreecommitdiff
path: root/tools/version
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-03-12 21:28:41 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-03-12 21:28:41 -0400
commite814ac9e83259f69c9dea6d5f1a28b89956906d9 (patch)
tree4c27ae91263a7968327555b6777cbe1ff0e035df /tools/version
parent145f78b8b86d97b710ea9bef9131ef13c2b70534 (diff)
Version the project, to couple the builder to the final product
Diffstat (limited to 'tools/version')
-rwxr-xr-xtools/version10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/version b/tools/version
new file mode 100755
index 0000000..56f0ddb
--- /dev/null
+++ b/tools/version
@@ -0,0 +1,10 @@
+#!/bin/bash -e
+
+## tools/version
+##
+## Prints a version number for this project. Version information comes from Git.
+
+git describe \
+ --always \
+ --dirty \
+ --tags