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 EverettToews: https://wiki.apache.org/jclouds/Releasing%20jclouds?action=diff&rev1=48&rev2=49 1. For each of those repos, in that order, do the following: 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. 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: + 1. {{{ 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, 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) 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. - 1. Give your build more memory. e.g. {{{ export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=1024m" }}} + 1. {{{ 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 }}} + 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.: + 1. {{{ mvn release:clean release:prepare -DreleaseVersion=1.6.3 -Dtag=jclouds-1.6.3-rcX -DdevelopmentVersion=1.6.4-SNAPSHOT -DpushChanges=false }}} 1. Maven will ask you some questions: 1. There are still some remaining snapshot dependencies. Do you want to resolve them now? yes 1. Dependency type to resolve,: specify the selection number: 0 @@ -101, +104 @@ 1. Once you've finished building all of the repos, go to [[https://repository.apache.org]], log in, and go to Staging Repositories. Find the open org.apache.jclouds repository, which your builds have been uploading to. Select it and close it. That'll take a little while. Then copy the URL for the repo - you'll need that shortly. === Starting the Vote === - 1. Checkout https://dist.apache.org/repos/dist/dev/jclouds. Create a new directory for the RC, i.e., 1.6.3-rc0. + 1. Checkout https://dist.apache.org/repos/dist/dev/jclouds. Create a new directory for the RC, i.e., 1.6.3-rc1. 1. Go to the candidate directory and run the following, substituting the correct version and the now-closed staging repository accordingly. This will copy down all the source tarballs, their signatures and their checksums. - {{{ - /home/abayer/bin/fetch_jclouds_rc.sh 1.6.3 https://repository.apache.org/content/repositories/orgapachejclouds-016 + 1. {{{ ./fetch_jclouds_rc.sh 1.6.3 https://repository.apache.org/content/repositories/orgapachejclouds-016 1.6.3-rc1/ }}} - }}} 1. It's not a bad idea to try taking each of the tarballs, blowing them up and then building, with a standard {{{mvn clean install}}}. Remember that RAT checks are done as part of the Maven build, so you don't need to run those separately. 1. svn add the new directory, as well as svn rm'ing any old RCs in the same line (i.e., any older 1.6.x RC). svn ci, and use that link under https://dist.apache.org/repos/dist/dev/jclouds/ for the release vote email. 1. Get the JIRA release notes for the release by going to [[https://issues.apache.org/jira/secure/ConfigureReleaseNote.jspa?projectId=12314430]] and choosing HTML and the version you're releasing. Save that link for inclusion in the vote/discuss emails.
