Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VPP-448 Fix LISP APIs using binary data
[vpp.git]
/
build-root
/
scripts
/
version
diff --git
a/build-root/scripts/version
b/build-root/scripts/version
index
8724ced
..
84ee5db
100755
(executable)
--- a/
build-root/scripts/version
+++ b/
build-root/scripts/version
@@
-15,6
+15,7
@@
fi
if [ "$1" = "rpm-release" ]; then
[ -z "${ADD}" ] && echo release && exit
+ CMT=$(git describe --dirty --match 'v*'| cut -s -d- -f3,4 | sed 's/-/_/')
echo ${ADD}${CMT:+~${CMT}}${BLD}
exit
fi