Autotools: Produce .tar.{gz,lz,xz} release archives (#236, #258)

This commit is contained in:
Sebastian Pipping 2019-05-12 19:17:11 +02:00
parent 5e2859fbf1
commit 844e5482c7
3 changed files with 15 additions and 4 deletions

View File

@ -13,6 +13,7 @@ Release x.x.x XXX XXXXXX XX XXXX
#243 Windows: Fix syntax of .def module definition files
#245 #246 Autotools: Fix check for -fvisibility=hidden for Clang
#247 #248 Autotools: Fix compilation for lack of docbook2x-man
#236 #258 Autotools: Produce .tar.{gz,lz,xz} release archives
Special thanks to:
Benjamin Peterson

View File

@ -30,8 +30,9 @@
AUTOMAKE_OPTIONS = \
dist-bzip2 \
dist-lzip \
dist-xz \
foreign \
no-dist-gzip \
subdir-objects
ACLOCAL_AMFLAGS = -I m4

View File

@ -10,11 +10,20 @@ PS4='# '
set -x
version="$(./conftools/get-version.sh lib/expat.h)"
archive=expat-${version}.tar.bz2
./buildconf.sh
./configure
make distcheck
gpg --armor --output ${archive}.asc --detach-sign ${archive}
gpg --verify ${archive}.asc ${archive}
extensions=(
gz
bz2
lz
xz
)
for ext in ${extensions[@]} ; do
archive=expat-${version}.tar.${ext}
gpg --armor --output ${archive}.asc --detach-sign ${archive}
gpg --verify ${archive}.asc ${archive}
done