fix definition of release version info in the case where git describe --tags returns a precise tag, rather than tag-REVCOUNT
This commit is contained in:
parent
d79e3a21c6
commit
4b54057569
@ -4,9 +4,11 @@
|
||||
|
||||
release_version=`grep -m 1 '[^A-Za-z_]LINUX_VERSION = ' ../../wscript | awk '{print $3}' | sed "s/'//g"`
|
||||
r=`cut -d'"' -f2 < ../../libs/ardour/revision.cc | sed -e 1d -e "s/$release_version-//"`
|
||||
if echo $r | grep -q -e - ; then
|
||||
revcount=`echo $r | cut -d- -f1`
|
||||
fi
|
||||
commit=`echo $r | cut -d- -f2`
|
||||
version=${release_version}.${revcount}
|
||||
version=${release_version}${revcount:+:.revcount}
|
||||
|
||||
#
|
||||
# Figure out the Build Type
|
||||
|
Loading…
Reference in New Issue
Block a user