diff --git a/Game/version.sh b/Game/version.sh new file mode 100644 index 0000000..d222895 --- /dev/null +++ b/Game/version.sh @@ -0,0 +1,2 @@ +#!/bin/bash +echo -n "$(git log -n1 | head -n3 | tail -n1) · $(git status | grep "On branch" | cut -d' ' -f 2-) · commit hash: $(git reflog -n1 | cut -d' ' -f1)" > version 2>&1