mfer/bin/gitrev.sh
sneak ec3e7c23eb
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
latest
2022-12-06 02:59:08 +04:00

7 lines
108 B
Bash

#!/bin/bash
if [[ ! -z "$GITREV" ]]; then
echo $GITREV
else
git describe --always --dirty=-dirty
fi