summaryrefslogtreecommitdiff
path: root/launch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'launch.sh')
-rwxr-xr-xlaunch.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/launch.sh b/launch.sh
index 73c21f1b..5919e814 100755
--- a/launch.sh
+++ b/launch.sh
@@ -1,4 +1,10 @@
#!/bin/sh
-exec python3 -OO src/poezio.py -v 0.8 "$@"
+if [ -d "$PWD/.git" ]
+then
+ args=$(git show --format='%h %ci' | head -n1)
+else
+ args="0.8.3-dev"
+fi
+exec python3 -OO src/poezio.py -v "$args" "$@"