config: revert tmp disable version naming

This commit is contained in:
Luis Guzmán 2022-11-08 21:19:28 +00:00
parent 7a41aa5028
commit aca76216e9

View file

@ -168,11 +168,11 @@ find -maxdepth 1 -type f | xargs rm
cd source
UPSTREAMVERSION=$(dpkg-parsechangelog --show-field Version)
#if echo $UPSTREAMVERSION | grep -q '-'; then
if echo $UPSTREAMVERSION | grep -q '-'; then
export FULLVERSION=$(dpkg-parsechangelog --show-field Version)+${REVISION}trisquel${VERSION}
#else
# export FULLVERSION=$(dpkg-parsechangelog --show-field Version)-${REVISION}trisquel${VERSION}
#fi
else
export FULLVERSION=$(dpkg-parsechangelog --show-field Version)-${REVISION}trisquel${VERSION}
fi
# Use 3.0 (native) deb source format
[ -f debian/source/format ] && echo "3 (native)" > debian/source/format