From 5c5c6e6e46b79b452bdc6d7155a5fd98fb023d30 Mon Sep 17 00:00:00 2001 From: Romain PELISSE Date: Wed, 28 Nov 2012 22:42:13 +0100 Subject: [PATCH] site: add missing information on release --- pmd/src/site/xdocs/pmd-release-process.xml | 38 ++++++++++++---------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/pmd/src/site/xdocs/pmd-release-process.xml b/pmd/src/site/xdocs/pmd-release-process.xml index 4eefeacef1..72ef61d390 100644 --- a/pmd/src/site/xdocs/pmd-release-process.xml +++ b/pmd/src/site/xdocs/pmd-release-process.xml @@ -24,12 +24,16 @@ $ git pull $ git status -

Ensure all the new rules are listed in a -src/main/resources/rulesets/releases/<version>.xml file.

+

Checklist for release preparation:

-

Update the "download" and "what's new" link in site.pre.xml.

- -

Update version/release info in etc/changelog.txt.

+ $ mvn verify post-site #(order of targets DOES matter) @@ -49,23 +53,23 @@ $ git commit -a -m "pmd: Prepare pmd release <version>" -

-Let maven create a release branch (note - this is of course not needed if you -are already on a release/maintenance branch). Maven will automatically increase -the version in branch master. In case you create a alpha/preview release and you -want to stay with the current version in master, use these -additional properties: --DupdateBranchVersions=true -DupdateWorkingCopyVersions=false

+

Let's have maven create a release branch for us (note - this is of course not +needed if you are already on a release/maintenance branch). Maven will automatically +increase the version in branch master.

$ mvn release:branch -DbranchName=pmd/<version>.x -

-Note: The property pushChanges is set to false, so that we can manually +In case you create a alpha/preview release and you want to stay with the current +version in master, use these additional properties: + +$ mvn -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false ... + +

Note: The property pushChanges is set to false, so that we can manually push all changes done during the release at the end, when we are sure, -that everything is fine. -

+that everything is fine.

+
@@ -176,4 +180,4 @@ $ ssh your_sf_login@shell.sourceforge.net "shutdown" - \ No newline at end of file +