You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by Apache Wiki <wi...@apache.org> on 2014/05/27 09:32:28 UTC

[Jclouds Wiki] Update of "Releasing jclouds" by IgnasiBarrera

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jclouds Wiki" for change notification.

The "Releasing jclouds" page has been changed by IgnasiBarrera:
https://wiki.apache.org/jclouds/Releasing%20jclouds?action=diff&rev1=47&rev2=48

    1. Check out the branch you're going to be releasing from - e.g., 1.6.x
    1. Check that your [[https://help.github.com/articles/setting-your-username-in-git|Git username]] and [[https://help.github.com/articles/setting-your-email-in-git|email]] are set to match your Apache account
    1. Check the <repo>/pom.xml and/or <repo>/project/pom.xml for any properties (typically {{{<jclouds.version>}}}) referencing the SNAPSHOT version we're leaving, and replace those with the release version. The following command can help finding all those versions: {{{ find . -name pom.xml -exec grep -nH '1.6.3-SNAPSHOT' {}  \; | grep -v '<version>' }}}
-   1. Commit the changes, as otherwise the following step will complain about uncommitted local modifications.
+   1. Commit the changes, as otherwise the following step will complain about uncommitted local modifications, but don't push them.
-    1. For jclouds-labs-openstack.git, first run {{{mvn versions:update-parent -DparentVersion="[1.6.3]"}}} (or whatever the release version is). Commit and push. (Note - this may only be needed for 1.6.x)
+    1. For jclouds-labs-openstack.git, first run {{{mvn versions:update-parent -DparentVersion="[1.6.3]"}}} (or whatever the release version is) and commit the changes (don't push them yet).
    1. Run {{{mvn --version}}} and verify that you are using a Java 6 JDK for 1.6.x releases
    1. Give your build more memory. e.g. {{{ export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=1024m" }}}
    1. Prepare the release. Remember to replace "jclouds-1.6.3-rcX" and the versions with the correct tag/version for the repo/release/RC you're building. e.g.: {{{ mvn release:clean release:prepare -DreleaseVersion=1.6.3 -Dtag=jclouds-1.6.3-rcX -DdevelopmentVersion=1.6.4-SNAPSHOT -DpushChanges=false }}}