mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
debrelease: support other distributions
This commit is contained in:
parent
57114c8005
commit
2dcca32cd8
@ -2,6 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
# export DISTRIBUTION to use something other than unstable (or whatever was
|
||||
# last used in debian/changelog). see dch(1).
|
||||
usage() { echo "usage: `basename $0` version" ; }
|
||||
|
||||
[ $# -eq 1 ] || { usage >&2 ; exit 1 ; }
|
||||
@ -10,7 +12,11 @@ VERSION="$1"
|
||||
|
||||
rm -fv debian/files
|
||||
dch -v $VERSION+dfsg.1-1
|
||||
dch -r
|
||||
if [ -n "$DISTRIBUTION" ] ; then
|
||||
dch -r --distribution "$DISTRIBUTION"
|
||||
else
|
||||
dch -r
|
||||
fi
|
||||
uscan --repack --compression xz --force
|
||||
gpg --sign --armor --detach-sign ../notcurses_$VERSION+dfsg.1.orig.tar.xz
|
||||
# FIXME this seems to upload to $VERSION.dfsg as opposed to $VERSION+dfsg?
|
||||
|
Loading…
x
Reference in New Issue
Block a user