You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2017/09/06 08:09:33 UTC

[2/2] syncope git commit: Adjusting the release process to avoid quirks with buildnumber-maven-plugin

Adjusting the release process to avoid quirks with buildnumber-maven-plugin


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/00ef0032
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/00ef0032
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/00ef0032

Branch: refs/heads/master
Commit: 00ef0032fcea60f7b0ef48208c2fcaacf803a041
Parents: faba42e
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Wed Sep 6 10:09:15 2017 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Wed Sep 6 10:09:23 2017 +0200

----------------------------------------------------------------------
 src/site/xdoc/release-process.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/00ef0032/src/site/xdoc/release-process.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/release-process.xml b/src/site/xdoc/release-process.xml
index 107b36a..c3e5804 100644
--- a/src/site/xdoc/release-process.xml
+++ b/src/site/xdoc/release-process.xml
@@ -195,7 +195,7 @@ git push]]></source>
         <ol>
           <li>
             Do a dry run of the <code>release:prepare</code> step.
-            <source>mvn -P apache-release release:prepare -DdryRun=true</source>
+            <source>mvn -P apache-release release:prepare -Darguments="-DbuildNumber=syncope-$VERSION" -DdryRun=true</source>
 
             The dry run will not commit any changes and gives you the opportunity to verify that the 
             release process will complete as expected.
@@ -248,7 +248,7 @@ gpg: Signature made ...]]></source>
           <li>
             Run the <code>release:prepare</code> step for real this time. You'll be prompted for the same version 
             information and optionally your GPG passphrase again.
-            <source>mvn -P apache-release release:prepare</source>
+            <source>mvn -P apache-release release:prepare -Darguments="-DbuildNumber=syncope-$VERSION"</source>
           </li>
           <li>
             Backup (zip or tar) your local release candidate directory in case you need to rollback the release after 
@@ -344,7 +344,7 @@ svn commit -m "Staging site for release"]]></source>
           </li>
           <li>
             From <code>$SYNCOPE_RELEASE_DIR</code> execute (this step will create a maven staging repository):
-            <source>mvn -P apache-release release:perform [-Duser.name=&lt;your_apache_uid&gt;]</source>
+            <source>mvn -P apache-release release:perform -Darguments="-DbuildNumber=syncope-$VERSION" [-Duser.name=&lt;your_apache_uid&gt;]</source>
         
             <p>
               <em>If your local OS userid doesn't match your Apache userid, then you'll have to also override the value