Update the version tech note to remind to rebake.
[wxWidgets.git] / docs / tech / tn0011.txt
1                  All about wxWidgets Version Numbers
2                  ===================================
3
4 1. Where to update the version numbers:
5
6    There are several places in the wxWidgets source tree that
7    define the version number for the library.
8
9    The script misc/scripts/inc_release can be used for incrementing the release
10    field of the version, i.e. changing 2.8.x to 2.8.x+1 but it does not take
11    care of version.bkl and can't be used for changing the other version
12    components, this needs to be done manually. It also doesn't update
13    version.bkl file which always needs to be updated manually, follow the
14    instructions there.
15
16    Here is the list of files that need to be updated:
17
18    build/bakefiles/version.bkl {C:R:A}          [NOT UPDATED AUTOMATICALLY]
19    configure.in
20    *.spec
21    build/osx/wxvers.xcconfig
22    docs/changes.txt
23    docs/doxygen/Doxyfile_inc (PROJECT_NUMBER)
24    docs/doxygen/latexdocstart.inc
25    docs/doxygen/mainpages/manual.h (just date)
26    docs/msw/install.txt {major release only}
27    include/wx/version.h
28    include/wx/osx/config_xcode.h
29    samples/Info.plist
30    samples/docview/Info.plist
31    samples/minimal/borland_ide.cpp {major release only}
32
33    Do not forget to rebake everything after updating version.bkl!
34
35 2. When to update the version numbers:
36
37    Version should be updated immediately after releasing the previous version
38    so that the sources in the repository always correspond to the next release
39    and not the past one.
40
41    See also tn0020.txt.
42
43
44
45
46 === EOF ===
47
48 Version: $Id$
49