commit | 0e5e3c3b62f2e4edbd9a8cdaccd5ad838545dd00 | [log] [tgz] |
---|---|---|
author | Dave Barach <dave@barachs.net> | Mon Jan 25 08:28:22 2016 -0500 |
committer | Dave Barach <dave@barachs.net> | Mon Jan 25 08:28:40 2016 -0500 |
tree | f5d5600bda552898e0616b7dcf27a4e0c23d455c | |
parent | 309bef25f109ff9ef03e178ac6fe233f4d778d73 [diff] |
Fix rpm packaging bit-rot Change-Id: Ia710b0773984891ee18c6c0558cc09b984043e38 Signed-off-by: Dave Barach <dave@barachs.net>
diff --git a/build-root/scripts/version b/build-root/scripts/version index 9d236bc..bbafb9b 100755 --- a/build-root/scripts/version +++ b/build-root/scripts/version
@@ -11,6 +11,7 @@ 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