7 lines
108 B
Bash
7 lines
108 B
Bash
|
#!/bin/bash
|
||
|
if [[ ! -z "$GITREV" ]]; then
|
||
|
echo $GITREV
|
||
|
else
|
||
|
git describe --always --dirty=-dirty
|
||
|
fi
|