MT#55283 use .release-version info while building

Change-Id: I2c6c65dfc2ae4a341c34f89effdb9454917b4bdd
(cherry picked from commit 33bcd6a1fa)
(cherry picked from commit 625d592c41)
mr14.1.1
Richard Fuchs 2 months ago
parent f81fd49302
commit 23bc4aab9b

@ -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 }')"

Loading…
Cancel
Save