Skip to content

Release Process

Chris Mattmann edited this page Oct 5, 2019 · 5 revisions

Pre-Reqs

  1. Read the OODT Release Process. It's got plenty of tips and tricks and helps you get your environment set up and all your Apache bits configured.
  2. Make sure you have set your useful DRAT environment variables
  3. Make sure you have Maven, GPG, NodeJS (NPM) and Java installed.
  4. Make sure you have read Apache's Nexus/Maven Publishing Guide
  5. Once ASF Infra Enables our Nexus Access this step can be ignored.

Begin Release

  1. from the DRAT top level directory, make sure the version is set appropriately for all the Maven modules. Youc an use the mvn:versions plugin here. For example, mvn versions:set -DnewVersion=1.1-SNAPSHOT if you are about to release 1.1.
  2. mvn release:prepare (and make sure that the tag looks like release-X.Y when you set it and the other versions look right. E.g., for 1.1, make sure the SCM tag is release-1.1)
    2.1 Note if you see messages like
       [INFO] gpg: signing failed: Inappropriate ioctl for device
       [INFO] gpg: signing failed: Inappropriate ioctl for device
    
    You need to see here for an easy solution.
  3. mvn release:perform

Send Email

  1. Use the Apache OODT template from its release guide.

That's it!

Clone this wiki locally