]> git.saurik.com Git - wxWidgets.git/commitdiff
Update the version tech note to remind to rebake.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2010 00:18:46 +0000 (00:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2010 00:18:46 +0000 (00:18 +0000)
Insist on the fact that version.bkl (which is not updated by the script) must
be updated and makefiles rebaked after any version change.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/tech/tn0011.txt

index 280236d77d60fa918430063af5a354c9c108d472..8605065b849a0498385589e483d02fb5f6b77de1 100644 (file)
@@ -4,12 +4,20 @@
 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:
+   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/bakefiles/version.bkl {C:R:A}
    build/osx/wxvers.xcconfig
    docs/changes.txt
    docs/doxygen/Doxyfile_inc (PROJECT_NUMBER)
    samples/docview/Info.plist
    samples/minimal/borland_ide.cpp {major release only}
 
-   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.
+   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 tn0020.txt for now.
+   See also tn0020.txt.