Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 18 Next »

Releases are now performed using Maven 2 so you need to have Maven 2 installed (see the building page).

  1. Create a branch in SVN so that others can keep working on the trunk. Create the branch in svn+ssh://svn.cargo.codehaus.org/home/projects/cargo/scm/cargo/branches/<version> and check it out on your local machine. Example:
  2. On the SVN trunk change all references of (N)-SNAPSHOT by (N+1)-SNAPSHOT (for ex from 0.6-SNAPSHOT to 0.7-SNAPSHOT). Perform this by doing a global search and replace.
  3. In the new branch, do the same and replace all references of (N)-SNAPSHOT by (N) (Ex: from 0.3-SNAPSHOT to 0.3).
  4. Run mvn install at the top level of the release branch to build the different artifacts and ensure everything is ok
  5. Run mvn assembly:assembly in core/uberjar of the release branch. Note: in the future this will be done automatically when you call mvn install.
  6. Deploy everything by typing mvn deploy at the top level of the release branch. For this to work you'll need to create a settings.xml file (in your .m2 directory or in your user home directory. Inside you'll need to define your credentials and more. Here's an example settings.xml:
  7. Log onto Cargo JIRA, release the current version and add the next version
  8. Check that the Cargo wiki is up to date. Specifically, perform the following updates:
    1. modify the status on the home page about the delivery
    2. export the wiki to a zipped HTML file and add it the Downloads page
    3. modify the Downloads page to include the latest download links
  9. Tag the branch created in step 1 to svn+ssh://svn.cargo.codehaus.org/home/projects/cargo/scm/cargo/tags/<version>
  10. Send an announcement email to Cargo mailing lists (and to other relevent sites)
  11. Create a blog post
  • No labels