mfer/bin/gitrev.sh

7 lines
108 B
Bash
Raw Normal View History

2022-12-05 22:59:08 +00:00
#!/bin/bash
if [[ ! -z "$GITREV" ]]; then
echo $GITREV
else
git describe --always --dirty=-dirty
fi