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

Compare with Current View Page History

« Previous Version 5 Next »

DRAFT Procedure for creating a release using M2

'This is currently a discussion page, and is not (yet) policy

This assumes that the Commons Proxy is about to vote on 1.0-RC3.

  • Tag "proxy-1.0-rc3" but with the version number set to "1.0". This is so the release does not have to be rebuilt later just to fix the version.
  • Check out the tag proxy-1.0-rc3 into a clean local working directory
  • Build the release artifacts - I think there's a couple of options here:
    • Run the following maven command:
      mvn site javadoc:jar source:jar assembly:assembly
      This will create all the artifacts - jars and src and binary distros, but then you need to create checksums and sign (James Carman: link to how to do this?)
    • Run the following maven command:
      mvn -Prc -DcreateChecksum=true site install
      This should create all the artifacts installed in your local m2 repository, signed and checksums (note it also creates checksums for signature files - I delete those)
  • Upload the artifacts to people.apache.org/~<userid>/proxy-1.0-rc3 (e.g.) and call a vote on dev@ (James Carman: isn't there a mvn command to do this?)
  • Make sure that your signing key has been added to the commons-wide KEYS file (http://svn.apache.org/repos/asf/commons/trunks-proper/KEYS).
  • The vote e-mail should include:
    • URL for artifacts
    • URL for SVN tag
    • URL for website
  • If the VOTE passes, then the RC tag can just be copied to the formal release tag, i.e. without the RC suffix. The RC tag should be kept.
  • If the VOTE fails, the failed RC tag can be deleted if required.
  • No labels