MT#55283 use .release-version info while building

Change-Id: I2c6c65dfc2ae4a341c34f89effdb9454917b4bdd
(cherry picked from commit 33bcd6a1fa)
(cherry picked from commit 1e45bafc70)
mr12.5.1
Richard Fuchs 2 months ago
parent 4fae319b18
commit 63451430bb

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

Loading…
Cancel
Save