diff options
author | Ed Warnicke <eaw@cisco.com> | 2016-06-02 17:38:22 -0500 |
---|---|---|
committer | Chris Luke <chris_luke@cable.comcast.com> | 2016-06-03 00:28:49 +0000 |
commit | 45eb9713fe77bbb460e91f62bdfb8ecb80555cb8 (patch) | |
tree | 14e78e2b9be9a6b2d60c7dac9288da8883f34e1e /build-root/scripts | |
parent | 5faba3aae647a5f07b0e83bffdef3d962b7da4fe (diff) |
VPP-107 Fix for mistake that breaks pkg-rpm in
https://gerrit.fd.io/r/#/c/1338/
Change-Id: I8b7fffe24cbeb435b18faaada9ef1cea9fd93d39
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Diffstat (limited to 'build-root/scripts')
-rwxr-xr-x | build-root/scripts/version | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build-root/scripts/version b/build-root/scripts/version index 8724ced3c18..84ee5dbe4de 100755 --- 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 |