syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [1/3] syncope git commit: Fixing the release process
Date Thu, 28 Jun 2018 07:11:36 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X f3f8975a6 -> c3b7bceb7


Fixing the release process


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

Branch: refs/heads/2_0_X
Commit: 4a4fd3080d043bcba6ff2c4a2f9855060eb73ad5
Parents: f3f8975
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Thu Jun 28 09:09:49 2018 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Thu Jun 28 09:09:49 2018 +0200

----------------------------------------------------------------------
 src/site/xdoc/release-process.xml | 22 +++++-----------------
 1 file changed, 5 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/4a4fd308/src/site/xdoc/release-process.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/release-process.xml b/src/site/xdoc/release-process.xml
index bebe2ee..f74f3a7 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 -Darguments="-DbuildNumber=syncope-$VERSION"
-DdryRun=true</source>
+            <source>mvn -P apache-release release:prepare -Darguments="-P all,docker
-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 -Darguments="-DbuildNumber=syncope-$VERSION"</source>
+            <source>mvn -P apache-release release:prepare -Darguments="-P all,docker
-DbuildNumber=syncope-$VERSION"</source>
           </li>
           <li>
             Backup (zip or tar) your local release candidate directory in case you need to
rollback the release after 
@@ -288,8 +288,8 @@ cp $SYNCOPE_RELEASE_DIR/client/cli/target/syncope-client-cli-*.zip .
 cp $SYNCOPE_RELEASE_DIR/client/cli/target/syncope-client-cli-*.zip.asc .
 cp $SYNCOPE_RELEASE_DIR/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/target/org.apache.syncope.ide.eclipse.site-*.zip
.
 cp $SYNCOPE_RELEASE_DIR/ide/eclipse/releng/org.apache.syncope.ide.eclipse.site/target/org.apache.syncope.ide.eclipse.site-*.zip.asc
.
-cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/nbm/syncope-ide-netbeans-*.nbm .
-cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/nbm/syncope-ide-netbeans-*.nbm.asc .
+cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/syncope-ide-netbeans-*.nbm .
+cp $SYNCOPE_RELEASE_DIR/ide/netbeans/target/syncope-ide-netbeans-*.nbm.asc .
               
 for file in `find . -type f -iname '*.asc'`
 do
@@ -356,7 +356,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 -Darguments="-DbuildNumber=syncope-$VERSION"
[-Duser.name=&lt;your_apache_uid&gt;]</source>
+            <source>mvn -P apache-release release:perform -Darguments="-P all,docker
-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 
@@ -426,18 +426,6 @@ svn commit -m "Staging site for release"]]></source>
               <li>
                 <tt>ide/eclipse/bundles/org.apache.syncope.ide.eclipse.tests/pom.xml</tt>
               </li>
-              <li>
-                <tt>docker/pom.xml</tt>
-              </li>
-              <li>
-                <tt>docker/core/pom.xml</tt>
-              </li>
-              <li>
-                <tt>docker/console/pom.xml</tt>
-              </li>
-              <li>
-                <tt>docker/enduser/pom.xml</tt>
-              </li>
             </ol>
             then commit and push:
             <source><![CDATA[git commit -a -m "Updating Eclipse and Docker files
for next development iteration"


Mime
View raw message