HowTo make a new WSPLGEN release ================================== (replace the sample "1.2.4" with the appropriate version number) 1. Take care everything is checked in properly. Check version numbers in src/wsplgen.h NEWS # Set according version number as environment variable # Linux $ export WSPLGENVERSION=1.2.5 # Windows set WSPLGENVERSION=1.2.5 2. Build WSPLGEN # On Linux $ cd src $ make dist-clean all # On Windows cd src TODO 3. Testing the Release # On Linux $ cd ../bin $ ./start_test Check if all tests have passed. Look at bin/test_results/test.txt. # On Windows $ cd ../bin $ start_test.bat Check if all tests have passed. Look at bin/test_results/test.txt. Only proceed if no failures are reported. Else fix the reported bugs. 4. Cleaning up # On Linux $ cd ../src $ make dist-clean the executables and the test_results will not be distributed 5. Create a source archive: $ cd ../.. $ svn export https://svn.wald.intevation.org/svn/wsplgen/trunk WSPLGEN-$WSPLGENVERSION $ zip -r WSPLGEN-$WSPLGENVERSION-src.zip WSPLGEN-$WSPLGENVERSION 6. Create platform specific binaries # On Linux $ cd WSPLGEN-$WSPLGENVERSION/bin $ zip -r ../../WSPLGEN-$WSPLGENVERSION-i386.zip test.exe wsplgen.exe \ test_daten start_test ../NEWS test_results # On Windows $ cd WSPLGEN-$WSPLGENVERSION/bin $ zip -r ../../WSPLGEN-$WSPLGENVERSION-win32.zip test.exe wsplgen.exe \ test_daten start_test.bat ../NEWS test_result test_results 7. Create according Documentation: $ cd ../doc/Dokumentation $ make WSPLGEN-Dokumentation.pdf $ mv WSPLGEN-Dokumentation.pdf ../../../WSPLGEN-Dokumentation-$WSPLGENVERSION.pdf 8. Create a new release "1.2.4" on GForge and upload files WSPLGEN-1.2.4-win32.zip, WSPLGEN-1.2.4-i386.zip, WSPLGEN-Dokumentation-1.2.4.pdf, WSPLGEN-1.2.4-src.zip 8.1 Tag the release in SVN: $ cd ../../../trunk $ export YOUR_USERNAME=name $ svn copy \ svn+ssh://$YOUR_USERNAME@svn.wald.intevation.org/wsplgen/trunk \ svn+ssh://$YOUR_USERNAME@svn.wald.intevation.org/wsplgen/tags/wsplgen-$WSPLGENVERSION 9. Update versions and URLs on the homepage 10. Announce the new release on the mailing lists.