version: fix path for git describe of version for redo

pull/11/head
Brad Fitzpatrick 5 years ago
parent a1fbf25f77
commit 1f1dc3ad14

@ -1,4 +1,4 @@
ver=$(git describe | sed 's/^v//') ver=$(cd ../.. && git describe | sed 's/^v//')
if [ "$ver" = "${ver%-*}" ]; then if [ "$ver" = "${ver%-*}" ]; then
# no sub-version. ie. it's 0.05 and not 0.05-341 # no sub-version. ie. it's 0.05 and not 0.05-341
# so add a sub-version. # so add a sub-version.

Loading…
Cancel
Save