wxWidgets/docs/tech/tn0011.txt
Vadim Zeitlin 3f66f6a5b3 Remove all lines containing cvs/svn "$Id$" keyword.
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.

If nothing else, this will make an eventual transition to Git simpler.

Closes #14487.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00

52 lines
1.7 KiB
Plaintext

All about wxWidgets Version Numbers
===================================
1. Where to update the version numbers:
There are several places in the wxWidgets source tree that
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:
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.
=== EOF ===