Commit b470cd54 authored by Patrik Dufresne's avatar Patrik Dufresne

Fix double -gg for git commit.

Version with node was displayed with `-gg957cca0`. The "g" was double.
parent fbae2d30
Pipeline #152 passed with stages
in 46 seconds
......@@ -47,8 +47,8 @@ else
DESCRIBE="${DESCRIBE/-dirty/}"
fi
# garbage-v3.0.6-24-g2c76283
NODE="${DESCRIBE##*-}"
DESCRIBE=${DESCRIBE%-*}
NODE="${DESCRIBE##*-g}"
DESCRIBE=${DESCRIBE%-g*}
# garbage-v3.0.6-24
DISTANCE="${DESCRIBE##*-}"
# garbage-v3.0.6
......
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