X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8de577bc53608e14f1770047e414f6f316a99563..37e8713ee43c2d00788717729130c1d9549ca9ed:/docs/tech/tn0022.txt?ds=sidebyside diff --git a/docs/tech/tn0022.txt b/docs/tech/tn0022.txt index f803caa26a..7bcac24c83 100644 --- a/docs/tech/tn0022.txt +++ b/docs/tech/tn0022.txt @@ -1,6 +1,17 @@ Making a new wxWidgets release ============================== +Before making the release +------------------------- + +Update docs/readme.txt. Please review its contents in addition to just +changing the version number. + +Put a date on the release line in docs/changes.txt. + +Update the date in the manual (docs/doxygen/mainpages/manual.h). + + Creating release files ---------------------- @@ -25,19 +36,50 @@ IMPORTANT NOTE: You *must* run this script from a clean source tree, that is, release. If you have legitimate modifications in the tree that need to be in the release, commit them first. +To generate the windows installer (.exe) and the documentation files (chm and htb formats) +run: + +build\tools\bld_chm_exe.bat + +which depends on the wxwidgets.iss file, and generates output in the %DAILY% directory. It +assumes a clean copy of the wxWidgets source tree in %INNO%. Temporary files will be generated +in the tree from which the batch file is run. It depends on doxygen, a number of gnu +win32 tools and Microsofts htmlhelp compiler. The wxwidgets.iss file should not need +editing, but you will want to check that the bld_chm_exe.bat has the correct version number. -Also run doxygen to create HTML documentation and pack it in .tar.bz2 and .zip -formats. + + +Alternative non official release scripts +---------------------------------------- + +If you use git-svn, then you can use alternative script that avoids the +problems such as using non-clean tree and also has better handling of the ends +of lines conversions. To use it you need to run + +- build/tools/svn-find-native-eols.pl +- build/tools/git-make-release +- build/tools/make-html-docs + +(the last one can also be used without git). Uploading --------- -Upload the files to SourceForge (the simplest is to scp them to -sfusername,wxwindows@frs.sf.net:/home/frs/project/w/wx/wxwindows/x.y.z) and to -ftp.wxwidgets.org (ask Chris to do it). +Upload the files to SourceForge. This can be done via the web interface or just +scp to sfusername,wxwindows@frs.sf.net:/home/frs/project/w/wx/wxwindows/x.y.z +You will need to use the web interface to mark the latest uploaded files as +being "default downloads" for the appropriate platforms (.zip or .exe for MSW, +.tar.bz2 for everything else) as otherwise SourceForge would continue to suggest +people to download old files. + +Also upload docs/release_files.mdwn as README.md to display it by default when +its directory is viewed on the web. + +Also upload the files to the FTP mirror at ftp.wxwidgets.org (ask Chris for +access if you don't have it). -Create http://docs.wxwidgets.org/x.y.z/ (ask Bryan to do it). +Create http://docs.wxwidgets.org/x.y.z/ (ask Bryan to do it if not done yet). Announcement @@ -57,8 +99,8 @@ Version updates --------------- Trac: mark the milestone corresponding to the release as completed and add a -new version for it to allow reporting bugs against it (ask Vadim or Robin to do -it). +new version for it to allow reporting bugs against it and create the next +milestone (ask Vadim or Robin to do it or to get admin password). Run misc/scripts/inc_release to increment micro version, i.e. replace x.y.z with x.y.z+1 (minor or major versions updates require manual intervention).