eobuilder: parse the upstream branch changelog to find the latest debian package version

This commit is contained in:
Benjamin Dauvergne 2013-09-18 22:49:14 +02:00
parent 8973ccbafe
commit c7a59df035
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ for DIST in $DISTS; do
git checkout $DEBIAN_BRANCH
git pull
PACKAGE_NAME=`cat debian/control | sed 's/^Source\s*:\s*//; t; d'`
LAST_DEBIAN_PACKAGE_VERSION=`dpkg-parsechangelog | sed 's/^Version: //; t; d'`
LAST_DEBIAN_PACKAGE_VERSION=`git show origin/$DEBIAN_BRANCH:debian/changelog | dpkg-parsechangelog -l-| sed 's/^Version: //; t; d'`
LAST_VERSION=`echo $LAST_DEBIAN_PACKAGE_VERSION | cut -d '-' -f1`
DEBIAN_FIRST_INC=1