2010-07-22 08:08:50 -04:00
|
|
|
Making a new wxWidgets release
|
|
|
|
==============================
|
2006-08-10 00:05:50 -04:00
|
|
|
|
2011-06-29 13:50:08 -04:00
|
|
|
Before making the release
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
Update docs/readme.txt. Please review its contents in addition to just
|
|
|
|
changing the version number.
|
|
|
|
|
2012-07-03 15:58:51 -04:00
|
|
|
Put a date on the release line in docs/changes.txt.
|
|
|
|
|
2012-07-03 15:59:56 -04:00
|
|
|
Update the date in the manual (docs/doxygen/mainpages/manual.h).
|
|
|
|
|
2012-07-09 10:15:37 -04:00
|
|
|
Update the release announcement post in docs/publicity/announce.txt.
|
|
|
|
|
2011-06-29 13:50:08 -04:00
|
|
|
|
2010-07-22 08:08:50 -04:00
|
|
|
Creating release files
|
|
|
|
----------------------
|
2006-08-10 00:05:50 -04:00
|
|
|
|
2009-03-22 09:12:45 -04:00
|
|
|
Currently our release system uses a Python 2.x script to generate releases.
|
|
|
|
The script requires Unix utilities such as tar, zip and unix2dos and thus must
|
|
|
|
be run either on Unix or using Cygwin on Windows. To generate a release, simply
|
|
|
|
run the following command:
|
2009-03-21 20:44:12 -04:00
|
|
|
|
|
|
|
build/tools/create-archive.py --compression=all /path/to/output/dir
|
|
|
|
|
2009-03-22 09:12:45 -04:00
|
|
|
This will produce zip, gzip and bzip archives of the tree (without
|
|
|
|
"compression" argument only .gz is made). Note that this commands produces huge
|
|
|
|
amounts of output so redirecting it to a file is recommended.
|
2009-03-21 20:44:12 -04:00
|
|
|
|
2009-03-22 09:12:45 -04:00
|
|
|
To add a prefix to the release, such as RC1, the SVN revision, or a date, just
|
|
|
|
pass --postfix="postfix" to the script. More info on the options and their
|
|
|
|
possible values can be found by calling `create-archive.py --help`.
|
2009-03-21 20:44:12 -04:00
|
|
|
|
2009-03-22 09:12:45 -04:00
|
|
|
IMPORTANT NOTE: You *must* run this script from a clean source tree, that is,
|
|
|
|
with no junk files in it or modifications. This is because the
|
|
|
|
release should be a pristine copy of the tree as of the time of
|
|
|
|
release. If you have legitimate modifications in the tree that need
|
|
|
|
to be in the release, commit them first.
|
2009-03-21 20:44:12 -04:00
|
|
|
|
2011-06-30 09:20:55 -04:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2010-07-22 08:08:50 -04:00
|
|
|
|
2011-06-29 13:50:05 -04:00
|
|
|
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).
|
2010-07-22 08:08:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
Uploading
|
|
|
|
---------
|
|
|
|
|
2011-10-31 06:49:52 -04:00
|
|
|
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
|
2012-07-09 16:35:10 -04:00
|
|
|
The following files need to be uploaded:
|
|
|
|
|
|
|
|
wxMSW-Setup-2.9.3.exe
|
|
|
|
wxWidgets-x.y.z.7z
|
|
|
|
wxWidgets-x.y.z.tar.bz2
|
|
|
|
wxWidgets-x.y.z.zip
|
|
|
|
wxWidgets-x.y.z_Headers.zip
|
|
|
|
wxWidgets-docs-chm-x.y.z.zip
|
|
|
|
wxWidgets-docs-html-x.y.z.tar.bz2
|
|
|
|
wxWidgets-docs-html-x.y.z.zip
|
|
|
|
|
2011-10-31 06:49:52 -04:00
|
|
|
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.
|
|
|
|
|
2012-07-09 16:35:10 -04:00
|
|
|
Next, update (at least the versions and SHA1 sums, but maybe more) and upload
|
|
|
|
docs/release_files.mdwn and docs/release_binaries.mdwn files. They need to be
|
|
|
|
renamed to README.md on SF to be shown when the directory is viewed, i.e. do:
|
|
|
|
|
|
|
|
scp docs/release_files.mdwn \
|
|
|
|
sfuser,wxwindows@frs.sf.net:/home/frs/project/w/wx/wxwindows/x.y.z/README.md
|
|
|
|
scp docs/release_binaries.mdwn \
|
|
|
|
sfuser,wxwindows@frs.sf.net:/home/frs/project/w/wx/wxwindows/x.y.z/binaries/README.md
|
2012-07-04 07:45:33 -04:00
|
|
|
|
2012-07-12 09:18:06 -04:00
|
|
|
And upload the change log too:
|
|
|
|
|
|
|
|
scp docs/changes.txt \
|
|
|
|
sfuser,wxwindows@frs.sf.net:/home/frs/project/w/wx/wxwindows/x.y.z
|
|
|
|
|
|
|
|
|
2011-10-31 06:49:52 -04:00
|
|
|
Also upload the files to the FTP mirror at ftp.wxwidgets.org (ask Chris for
|
|
|
|
access if you don't have it).
|
2010-07-22 08:08:50 -04:00
|
|
|
|
2011-06-29 13:50:08 -04:00
|
|
|
Create http://docs.wxwidgets.org/x.y.z/ (ask Bryan to do it if not done yet).
|
2010-07-22 08:08:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
Announcement
|
|
|
|
------------
|
|
|
|
|
2012-07-09 10:15:37 -04:00
|
|
|
Post docs/publicity/announce.txt at least to wx-announce@googlegroups.com.
|
2010-07-22 08:08:50 -04:00
|
|
|
|
|
|
|
TODO: where else to announce it?
|
|
|
|
|
|
|
|
Update www.wxwidgets.org, usually a news item is enough but something more can
|
|
|
|
be called for for major releases.
|
|
|
|
|
2012-07-12 09:18:06 -04:00
|
|
|
Also update downloads/index.html to mention the new latest release.
|
|
|
|
|
2010-07-22 08:08:50 -04:00
|
|
|
Post to wxBlog if necessary.
|
|
|
|
|
|
|
|
|
|
|
|
Version updates
|
|
|
|
---------------
|
|
|
|
|
|
|
|
Trac: mark the milestone corresponding to the release as completed and add a
|
2012-07-04 07:45:30 -04:00
|
|
|
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).
|
2010-07-22 08:08:50 -04:00
|
|
|
|
|
|
|
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).
|