diff options
Diffstat (limited to 'launch.sh')
-rwxr-xr-x | launch.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,12 @@ #!/usr/bin/env sh -exec python3 -OO src/poezio.py "$@" +if [ -d "$PWD/.git" ] +then + args=$(git show --format='%h %ci' | head -n1) +else + args="0.8-dev" +fi + + +exec python3 -OO src/poezio.py -v "$args" "$@" |