config: tmp disable version naming

This commit is contained in:
Luis Guzmán 2022-11-08 19:45:05 +00:00
parent f41f9f3148
commit 7a41aa5028

View file

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