2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

Streamline Windows release process

This commit is contained in:
Jay Berkenbilt 2018-02-18 20:57:19 -05:00
parent 4bb3046f0b
commit 00bd6a271d
3 changed files with 30 additions and 6 deletions

View File

@ -50,7 +50,7 @@
cd /tmp cd /tmp
zip -r qpdf-external-libs-src.zip external-libs zip -r qpdf-external-libs-src.zip external-libs
``` ```
* To create Windows binary releases, extract the qpdf source distribution in Windows (MSYS2 + MSVC). From the extracted directory, extract the binary distribution of the external libraries. Run ./make_windows_releases from there. * To create Windows binary releases, extract the qpdf source distribution in Windows (MSYS2 + MSVC). From the extracted directory, extract the binary distribution of the external libraries. Run ./make_windows_releases simultaneously in 32-bit and 64-windows from there.
* Before releasing, rebuild and test debian package. * Before releasing, rebuild and test debian package.
* Remember to copy `README-what-to-download.md` separately onto the download area. * Remember to copy `README-what-to-download.md` separately onto the download area.
* Remember to update the web page including putting new documentation in the `files` subdirectory of the website on sourceforge.net. * Remember to update the web page including putting new documentation in the `files` subdirectory of the website on sourceforge.net.

View File

@ -11,6 +11,21 @@ else
wordsize=32 wordsize=32
fi fi
if [ "$wordsize" = 32 ]; then
if [ ! -f win.64 ]; then
echo "Waiting for win.64 to appear"
while [ ! -f win.64 ]; do
sleep 5
done
fi
else
rm -f win.32 win.64
echo ''
echo "You may now start $0 in a 32-bit window."
echo ''
sleep 5
fi
set -e set -e
set -x set -x
cwd=`pwd` cwd=`pwd`
@ -28,10 +43,16 @@ make -j8
make check install make check install
make distclean make distclean
touch win.$wordsize
set +x set +x
echo '' echo "Finished builds for $wordsize."
echo "Finished builds for $wordsize. If not done already, rerun this"
echo "in a" `expr 96 - $wordsize` "environment." if [ "$wordsize" = 64 ]; then
echo 'Then run "./make_windows_releases-finish".' echo "If not done already, rerun this in a "`expr 96 - $wordsize`"-bit environment."
echo '' echo ''
echo 'Running "./make_windows_releases-finish".'
echo ''
./make_windows_releases-finish
fi

View File

@ -4,6 +4,9 @@ if [ ! -d external-libs ]; then
exit 2 exit 2
fi fi
echo "Waiting for win.32 and win.64"
while [ ! -f win.32 ] || [ ! -f win.64 ]; do sleep 1; done
set -e set -e
set -x set -x
cwd=`pwd` cwd=`pwd`