]> wimlib.net Git - wimlib/blobdiff - tools/make-releases
Rename make-windows-release to windows-build.sh
[wimlib] / tools / make-releases
index fad2b88c4d8591605e3cd41f8f37f148a02a0543..bf61c34579d98237747a44e6df6d7340e50d9959 100755 (executable)
@@ -6,15 +6,16 @@ MAKE="make -j$(grep -c processor /proc/cpuinfo)"
 
 export CFLAGS="-O2 -Wall -Werror"
 
+autoreconf -i -f # make sure the version number gets updated
+
 ./configure && $MAKE distcheck
 
-# Recompress with 7-Zip
+# Recompress with libdeflate
 gzfile=$(ls wimlib-*.tar.gz | tail -1)
 tarfile=${gzfile%.gz}
-gunzip $gzfile
-7z -mx9 a $gzfile $tarfile
-rm -f $tarfile
+libdeflate-gunzip $gzfile
+libdeflate-gzip -12 $tarfile
 
 for arch in i686 x86_64; do
-       ./tools/make-windows-release $arch
+       ./tools/windows-build.sh --arch=$arch --include-docs --zip
 done