[Openvas-commits] r6169 - trunk/doc

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 17 12:13:48 CET 2009


Author: felix
Date: 2009-12-17 12:13:48 +0100 (Thu, 17 Dec 2009)
New Revision: 6169

Modified:
   trunk/doc/howto-release.txt
Log:
Adjust howto about versioning, as all CMake-based projects now behave the same.

Modified: trunk/doc/howto-release.txt
===================================================================
--- trunk/doc/howto-release.txt	2009-12-17 11:09:39 UTC (rev 6168)
+++ trunk/doc/howto-release.txt	2009-12-17 11:13:48 UTC (rev 6169)
@@ -78,16 +78,12 @@
 
 1. Be sure that the current code configures and compiles.
 
-2. [Under change, for projects other than gsa you just have to change values in
-   CMakeLists.txt]
-   Update VERSION:
-   (in some cases a new major version can be set as apropriate).
-   Change the lines
+2. To change the version number, adjust the lines
           SET(CPACK_PACKAGE_VERSION_MAJOR "0")
           SET(CPACK_PACKAGE_VERSION_MINOR "6")
           SET(CPACK_PACKAGE_VERSION_PATCH "2")
-   in the CMakeLists.txt accordingly.
-2a. If there is anything doc/Doxyfile* update the PROJECT_NUMBER appropriately.
+   in the top-level CMakeLists.txt (in some cases a new major version can be
+   set as apropriate).
 
 3. Update CHANGES: Add/fix the version and date
    and check again whether all major changes have been
@@ -108,9 +104,8 @@
    svn copy svn+ssh://<YOUR_USERNAME>@svn.wald.intevation.org/openvas/trunk/openvas-<MODULE> svn+ssh://<YOUR_USERNAME>@svn.wald.intevation.org/openvas/tags/openvas-<MODULE>-release-<X>.<X>.<X>
    As commit message use "Tagging openvas-<MODULE> <X>.<X>.<X> release.".
 
-7. [see second instruction]
-   Change VERSION again (also look at doc/Doxyfile*, CMakeLists.txt):
-   increase by 0.0.1.
+7. Increase the patch version in the top-level CMakeLists.txt by 1, e.g.
+   SET(CPACK_PACKAGE_VERSION_PATCH "3")
 
 8. Commit change as "Post-release version bump."
    (see older ChangeLog entries as example)



More information about the Openvas-commits mailing list