Commit 8c897be8 authored by Patrik Dufresne's avatar Patrik Dufresne

Check if git executable is available on PATH

parent b470cd54
Pipeline #139192456 passed with stages
in 40 seconds
......@@ -30,6 +30,10 @@ increment_version ()
echo -e "${new// /.}"
if ! type git > /dev/null; then
echo "git executable can't be found!"
exit 1
DESCRIBE=$(git describe --dirty --tags --long --match "*.*" 2>/dev/null || true)
if [ -z "$DESCRIBE" ]; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment