X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ca2e4af311f3578acc7e1558eff98dfd8f3b69b..f04f570fd23deca0ee5ac90ebbda8fbe89f1b9e7:/docs/tech/tn0011.txt?ds=sidebyside diff --git a/docs/tech/tn0011.txt b/docs/tech/tn0011.txt index 8223e23e50..93598cd913 100644 --- a/docs/tech/tn0011.txt +++ b/docs/tech/tn0011.txt @@ -4,30 +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 files must be edited: - - {wx}/configure.in - {wx}/*.spec - {wx}/include/wx/version.h - {wx}/include/msvc/wx/setup.h - {wx}/src/wxvc_dll.dsp - {wx}/samples/minimal/borland_ide.cpp - {wx}/docs/latex/wx/manual.tex - {wx}/docs/msw/install.txt {major release only} - {wx}/docs/changes.txt - {wx}/build/bakefiles/wxpresets/presets/wx_win32.bkl - {wx}/build/bakefiles/version.bkl {C:R:A} - {wx}/build/script/win_docs.bat {windows doc and setup file} - {wx}/distrib/scripts/build-environ.cfg {cvs tar and zip files} - {wx}/mac/carbon/config_xcode.h - - 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. + 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. @@ -36,41 +50,3 @@ Version: $Id$ -$Log$ -Revision 1.11 2007/04/26 14:03:29 CE -add Borland Developer Studio and Turbo Explorer info - -Revision 1.10 2007/01/07 22:28:07 VZ -also update manual.tex - -Revision 1.9 2007/01/07 21:34:40 VZ -added a script to update release version field - -Revision 1.8 2006/11/12 20:13:09 VZ -removed obsolete src/make*.env files - -Revision 1.7 2006/11/12 18:55:33 CE -add places to change the version for distribution - -Revision 1.6 2006/11/11 20:23:18 VZ -added include/msvc/wx/setup.h - -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. -