X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ded240471ca96349fc59c4da98bbe22085ac4f96..38534f596974042130716a26276e9564b0b72295:/docs/tech/tn0011.txt diff --git a/docs/tech/tn0011.txt b/docs/tech/tn0011.txt index 03802edad1..93598cd913 100644 --- a/docs/tech/tn0011.txt +++ b/docs/tech/tn0011.txt @@ -4,26 +4,44 @@ 1. Where to update the version numbers: There are several places in the wxWidgets source tree that - define the version number for the library. When updating the - version number all of these places need edited: - - {wx}/configure.in - {wx}/*.spec - {wx}/include/wx/version.h - {wx}/src/makeb32.env - {wx}/src/makeg95.env - {wx}/src/makevc.env - {wx}/src/wxvc_dll.dsp - {wx}/docs/changes.txt - {wx}/docs/gtk/changes.txt - {wx}/build/bakefiles/wxpresets/presets/wx_win32.bkl - {wx}/build/script/wxwidgets.iss - AppVerName - {wx}/build/script/wxwidgets.iss - [Icons] section - + define the version number for the library. + + The script misc/scripts/inc_release can be used for incrementing the release + field of the version, i.e. changing 2.8.x to 2.8.x+1 but it does not take + care of version.bkl and can't be used for changing the other version + components, this needs to be done manually. It also doesn't update + version.bkl file which always needs to be updated manually, follow the + instructions there. + + Here is the list of files that need to be updated: + + build/bakefiles/version.bkl {C:R:A} [NOT UPDATED AUTOMATICALLY] + configure.in + *.spec + build/osx/wxvers.xcconfig + docs/changes.txt + docs/readme.txt (date needs manual editing) [NOT UPDATED AUTOMATICALLY] + docs/doxygen/Doxyfile_inc (PROJECT_NUMBER) + docs/doxygen/latexdocstart.inc + docs/doxygen/mainpages/manual.h (just date) [NOT UPDATED AUTOMATICALLY] + docs/msw/install.txt {major release only} + include/wx/version.h + include/wx/osx/config_xcode.h + samples/Info.plist + samples/docview/Info.plist + samples/minimal/Info_carbon.plist + samples/minimal/Info_cocoa.plist + samples/minimal/borland_ide.cpp {major release only} + + Do not forget to rebake everything after updating version.bkl! 2. When to update the version numbers: - [ To be written... ] + Version should be updated immediately after releasing the previous version + so that the sources in the repository always correspond to the next release + and not the past one. + + See also tn0020.txt. @@ -32,23 +50,3 @@ Version: $Id$ -$Log$ -Revision 1.5 2006/11/09 21:22:18 ABX -Mention changes for setup.exe - -Revision 1.4 2005/10/06 09:09:18 VZ -another file where the version should be updated - -Revision 1.3 2004/05/04 08:26:58 JS -Name change replacements - -Revision 1.2 2003/11/18 16:38:48 DS -Horizontally aligned header (Like other technotes). - -Revision 1.1 2001/06/08 04:26:35 RD -move the tech note to a correctly named file - -Revision 1.1 2001/06/06 16:44:25 RD - -Added technote about where the version numbers are located. -