From 33bcd6a1fa1e98c3924752657fbaa111e93dfb63 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 9 Mar 2026 11:05:44 -0400 Subject: [PATCH] MT#55283 use .release-version info while building Change-Id: I2c6c65dfc2ae4a341c34f89effdb9454917b4bdd --- utils/gen-common-flags | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/gen-common-flags b/utils/gen-common-flags index 4688ee107..2593031f9 100755 --- a/utils/gen-common-flags +++ b/utils/gen-common-flags @@ -24,6 +24,10 @@ if command -v dpkg-parsechangelog >/dev/null; then have_dpkg_parsechangelog=yes fi +if [ -z "${RTPENGINE_VERSION}" ] && [ -f .release-version ]; then + RTPENGINE_VERSION=$(<.release-version) +fi + if [ -z "${RTPENGINE_VERSION}" ]; then if [ "${have_dpkg_parsechangelog}" = yes ]; then deb_version="$(dpkg-parsechangelog -l"${top_srcdir}"/debian/changelog | awk '/^Version: / { print $2 }')"