Skip to content

Commit

Permalink
use conformant dfsg naming in debian package #2831
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 10, 2025
1 parent 245003e commit 7eacf2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/debrelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ if [ -z "$DEBVERSION" ] ; then
fi

rm -fv debian/files
dch -v $VERSION+dfsg.1-$DEBVERSION
dch -v $VERSION+dfsg1-$DEBVERSION
if [ -n "$DISTRIBUTION" ] ; then
dch -r --distribution "$DISTRIBUTION"
else
dch -r
fi
uscan --repack --compression xz --force
XBALL=notcurses_$VERSION+dfsg.1.orig.tar.xz
XBALL=notcurses_$VERSION+dfsg1.orig.tar.xz
gpg --sign --armor --detach-sign ../$XBALL
ASC=$(readlink -f ../$XBALL.asc)
XBALL=$(readlink -f $XBALL)
Expand All @@ -33,7 +33,7 @@ gh release upload v$VERSION $ASC $XBALL
cd -
git commit -m "v$VERSION" -a

gbp import-orig --upstream-version=$VERSION ../notcurses_$VERSION+dfsg.1.orig.tar.xz
gbp import-orig --upstream-version=$VERSION ../notcurses_$VERSION+dfsg1.orig.tar.xz
git push --tags
dpkg-buildpackage --build=source
cd ..
Expand Down

0 comments on commit 7eacf2c

Please sign in to comment.