]> wimlib.net Git - wimlib/blob - tools/make-releases.sh
wimsplit: don't print success message on failure
[wimlib] / tools / make-releases.sh
1 #!/bin/bash
2
3 set -e
4
5 MAKE="make -j$(grep -c processor /proc/cpuinfo)"
6
7 export CFLAGS="-O2 -Wall -Werror"
8
9 autoreconf -i -f # make sure the version number gets updated
10
11 ./configure && $MAKE distcheck
12
13 # Recompress with libdeflate
14 gzfile=$(find . -name 'wimlib-*.tar.gz' | tail -1)
15 tarfile=${gzfile%.gz}
16 libdeflate-gunzip "$gzfile"
17 libdeflate-gzip -12 "$tarfile"
18
19 for arch in i686 x86_64; do
20         ./tools/windows-build.sh --arch=$arch --include-docs --zip
21 done