diff --git a/debian-release-config/debian/deb_folder/control b/debian-release-config/debian/deb_folder/control index 325cf4d..41fface 100644 --- a/debian-release-config/debian/deb_folder/control +++ b/debian-release-config/debian/deb_folder/control @@ -2,7 +2,8 @@ Source: debian-release-config Section: admin Priority: optional Maintainer: Starlingx Developers -Build-Depends: debhelper-compat (= 13) +Build-Depends: debhelper-compat (= 13), + build-info-dev Standards-Version: 4.4.1 Homepage: https://www.starlingx.io diff --git a/debian-release-config/debian/deb_folder/rules b/debian-release-config/debian/deb_folder/rules index 3849dbd..1be8c7f 100644 --- a/debian-release-config/debian/deb_folder/rules +++ b/debian-release-config/debian/deb_folder/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f #export DH_VERBOSE = 1 -RELEASE = 21.12 +export RELEASE="$(shell grep SW_VERSION /usr/include/build_info.h | cut -d ' ' -f 3)" DEBIAN_ROOT = $(CURDIR)/debian/tmp %: