From 1e2db5103beb431e9e5dbe601016b37b12b21843 Mon Sep 17 00:00:00 2001 From: Justin Kolberg Date: Fri, 30 Aug 2024 12:51:40 -0700 Subject: [PATCH] fix: set package release version on Debian (#113) Signed-off-by: Justin Kolberg --- settings/deb/common.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/settings/deb/common.cmake b/settings/deb/common.cmake index 730168b8..2b8aa4f7 100644 --- a/settings/deb/common.cmake +++ b/settings/deb/common.cmake @@ -10,6 +10,7 @@ macro(set_common_deb_settings) set(CPACK_GENERATOR "DEB") set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "${package_arch}") set(PACKAGE_FILE_EXTENSION "deb") + set(CPACK_DEBIAN_PACKAGE_RELEASE "${BUILD_NUMBER}") set(CPACK_PACKAGE_FILE_NAME "${package_name}_${PROJECT_VERSION}-${BUILD_NUMBER}_${package_arch}") if (DEFINED goarm)