eobuilder: parse the upstream branch changelog to find the latest debian package version
This commit is contained in:
parent
8973ccbafe
commit
c7a59df035
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue