Call pkgversion function in config
Conflicts: helpers/config
This commit is contained in:
parent
17036ac166
commit
28cedae7e9
1 changed files with 1 additions and 2 deletions
|
|
@ -55,8 +55,7 @@ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execd
|
|||
}
|
||||
changelog(){
|
||||
head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-security || REPO=$CODENAME
|
||||
PKGVERSION=$(dpkg-parsechangelog --show-field Version)
|
||||
echo | dch -D $REPO -v ${PKGVERSION}+${REVISION}trisquel${VERSION} "$1"
|
||||
echo | dch -D $REPO -v `pkgversion`+${REVISION}trisquel${VERSION} "$1"
|
||||
|
||||
# Make sure the changelog file is identical between archs
|
||||
/bin/sed "/-- Trisquel/s/.*/ -- Trisquel GNU\/Linux developers <trisquel-devel@listas.trisquel.info> $DATE/" -i debian/changelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue