diff options
Diffstat (limited to 'build-root/scripts/version')
-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 9d236bc227a..bbafb9bbf8f 100755 --- a/build-root/scripts/version +++ b/build-root/scripts/version @@ -11,6 +11,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} exit fi |