From 63451430bb97d0287afd28c9b0eff230845d12b9 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 (cherry picked from commit 33bcd6a1fa1e98c3924752657fbaa111e93dfb63) (cherry picked from commit 1e45bafc70bfad5f809e3579962be6a196f1b789) --- utils/gen-common-flags | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/gen-common-flags b/utils/gen-common-flags index 4efff13db..e5bad623b 100755 --- a/utils/gen-common-flags +++ b/utils/gen-common-flags @@ -19,6 +19,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 }')"