diff options
author | Junfeng Wang <Drenfong.Wang@intel.com> | 2019-04-18 09:05:57 +0000 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2019-04-18 11:18:56 +0000 |
commit | c6f8ab391afc726117f677d8c9408c5fc052284f (patch) | |
tree | 7ee0a5b41bfe2d8db5406baddee4c5bd5aa9baec /src/cmake | |
parent | a21470277ddcdc18e4edfd3cda9f526ee7379c43 (diff) |
fix build number is duplicated
Change-Id: Icfd709ee666b280e62c3f96513286d1fbd00b1ba
Signed-off-by: Junfeng Wang <Drenfong.Wang@intel.com>
Diffstat (limited to 'src/cmake')
-rw-r--r-- | src/cmake/Packager.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmake/Packager.cmake b/src/cmake/Packager.cmake index fddb382..b22d5dc 100644 --- a/src/cmake/Packager.cmake +++ b/src/cmake/Packager.cmake @@ -66,8 +66,8 @@ macro(make_packages) set(deb_ver "${tag}") set(rpm_ver "${tag}") else() - set(deb_ver "${tag}-${commit_num}-release") - set(rpm_ver "${tag}-${commit_num}-release") + set(deb_ver "${tag}-${commit_num}-${commit_name}-release") + set(rpm_ver "${tag}-${commit_num}-${commit_name}-release") endif() get_cmake_property(components COMPONENTS) |