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 #243 Windows: Fix syntax of .def module definition files
#245 #246 Autotools: Fix check for -fvisibility=hidden for Clang #245 #246 Autotools: Fix check for -fvisibility=hidden for Clang
#247 #248 Autotools: Fix compilation for lack of docbook2x-man #247 #248 Autotools: Fix compilation for lack of docbook2x-man
#236 #258 Autotools: Produce .tar.{gz,lz,xz} release archives
Special thanks to: Special thanks to:
Benjamin Peterson Benjamin Peterson

View File

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

View File

@ -10,11 +10,20 @@ PS4='# '
set -x set -x
version="$(./conftools/get-version.sh lib/expat.h)" version="$(./conftools/get-version.sh lib/expat.h)"
archive=expat-${version}.tar.bz2
./buildconf.sh ./buildconf.sh
./configure ./configure
make distcheck make distcheck
gpg --armor --output ${archive}.asc --detach-sign ${archive} extensions=(
gpg --verify ${archive}.asc ${archive} 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