forked from unfa/liblast
Added automatic git version info update
parent
a2b4f88e97
commit
8f8f439508
|
@ -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
|
Loading…
Reference in New Issue