Skip to content
Snippets Groups Projects
Commit 28cedae7 authored by Legimet's avatar Legimet Committed by Ruben Rodriguez
Browse files

Call pkgversion function in config

Conflicts:
	helpers/config
parent 17036ac1
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment