summaryrefslogtreecommitdiff
path: root/get-version
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-01-01 00:00:00 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-05 16:08:12 +0200
commit4f9d02b9b4c84d567709e0325642ac55e068a1ee (patch)
tree93e1b520f878b34da2a046cc3440fd9cec25157c /get-version
parent0e29ddc3c41870e14da87770a429a94f80dd4110 (diff)
Set up the project infrastructure
Diffstat (limited to 'get-version')
-rwxr-xr-xget-version5
1 files changed, 5 insertions, 0 deletions
diff --git a/get-version b/get-version
new file mode 100755
index 0000000..22aa929
--- /dev/null
+++ b/get-version
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+TARBALL_VERSION=$(cat .tarball-version 2>/dev/null || echo "SNAPSHOT")
+
+printf "%s" $TARBALL_VERSION