Skip to content

Commit

Permalink
eliminate anticipated-repack-count lintian warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 10, 2025
1 parent 7eacf2c commit 9f294e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
### Debian

* In gbp repository, run `tools/debrelease.sh $VERSION path-to-notcurses-checkout`:
* Updates Debian changelog with `dch -v $VERSION+dfsg.1-1`
* Updates Debian changelog with `dch -v $VERSION+dfsg-1`
* Finalizes Debian changelog with `dch -r`
* Repacks DFSG-safe tarball with `uscan`:
* `uscan --repack --compression xz --force`
* `gpg --sign --armor --detach-sign ../notcurses_$VERSION+dfsg.1.orig.tar.xz`
* `gpg --sign --armor --detach-sign ../notcurses_$VERSION+dfsg.orig.tar.xz`
* Uploads repack + signature to github
* imports new version: `gbp import-orig ../notcurses_$VERSION+dfsg.1.orig.tar.xz`
* imports new version: `gbp import-orig ../notcurses_$VERSION+dfsg.orig.tar.xz`
* `git push --tags`
* builds source package: `dpkg-buildpackage --build=source`
* builds binaries: `cd .. && export TERM=xterm-256color && sudo pbuilder build *dsc`
Expand Down
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+dfsg1-$DEBVERSION
dch -v $VERSION+dfsg-$DEBVERSION
if [ -n "$DISTRIBUTION" ] ; then
dch -r --distribution "$DISTRIBUTION"
else
dch -r
fi
uscan --repack --compression xz --force
XBALL=notcurses_$VERSION+dfsg1.orig.tar.xz
XBALL=notcurses_$VERSION+dfsg.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+dfsg1.orig.tar.xz
gbp import-orig --upstream-version=$VERSION ../notcurses_$VERSION+dfsg.orig.tar.xz
git push --tags
dpkg-buildpackage --build=source
cd ..
Expand Down

0 comments on commit 9f294e0

Please sign in to comment.