Release making process:

Write ChangeLog entry

Write and commit new entry to ChangeLog file in pasdoc sources.

Actually, after 0.9.0 release I'm writing the ChangeLog entry while developing PasDoc (each time I do sthg significant, I add it to ChangeLog). So this point means just review and finalize (write new verion number and release date) ChangeLog entry.

Compile and test all releases

Compile each release:

Use make clean build-fpc-default or make clean build-fpc-<os/arch> to compile a release version of pasdoc. Or you can just call make dist-<os/arch>, this will make clean and build-fpc-<os/arch> as the first steps. (Note that it's important to call clean before build-fpc-<os/arch>, otherwise you risk that some units were left as compiled with debug options).

All automatic tests should pass, under all targets. The full commands to execute all tests go like this:

cd pasdoc/tests/

cd scripts/
./download_correct_tests_output.sh html htmlhelp latex latex2rtf simplexml
cd ../

make clean html htmlhelp latex latex2rtf simplexml
diff -wur correct_output/html html
diff -wur correct_output/htmlhelp htmlhelp
diff -wur correct_output/latex latex
diff -wur correct_output/latex2rtf latex2rtf
diff -wur correct_output/simplexml simplexml

make validate_html   # requires onsgmls installed
make validate_simplexml   # requires xmllint installed

cd scripts/
./check_cache.sh html
./check_cache.sh htmlhelp
./check_cache.sh latex
./check_cache.sh latex2rtf
./check_cache.sh simplexml

./check_cache_format_independent.sh html latex
./check_cache_format_independent.sh latex2rtf htmlhelp

Note that some things at HTML validation are known to fail:

They are related to paragraphs with table cells. You can ignore them. (Or you can fix them, but you have to preserve the look of HTML docs; see TGenericHTMLDocGenerator.FormatTable in sources).

Update docs

Remove from the documentation text

(where x.y.z is version number of previous release) placed at the beginning of some pages. This is easily done by doing a full-text search in the wiki for the phrase Note that this feature is not available in latest released pasdoc version. Like this.

Change version number and SVN tagging

Compile and test pasdoc_gui

For platforms where pasdoc_gui is included in releases (currently this means Linux-x86, Darwin-x86, Win32) you must compile PasDocGui before executing make dist-<os/arch>, . In the future compiling process may be automated inside Makefile. For now you just have to do it manually.

Recompile and archive all releases

Use make dist-<os/arch>. This will do clean, then appropriate build-<compiler>-<os/arch>, then will produce archive named like pasdoc-<version>-<os/arch>. This is the archive you want to release on sourceforge.

Source archive is made by make dist-src. It works by checking out from pasdoc SVN by X.Y.Z tag.

Release files using sourceforge file release system

Notes:

Remember to update "platform" downloads pages as well at the end.

Final things to do

ReleaseMaking (last edited 2009-01-08 20:18:38 by MichalisKamburelis)