Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Make sure your the release notes have been updated for any new commits, and go through the previous steps if necessary.
  2. Build the release (binary and source versions) after running unit tests. Note that this will generate MD5 checksum files automatically.Manually create the md5 files. On a Mac use md5 in place of md5sum

    No Format
    % ant -Dversion= mvn install -Pdist -DskipTests -Phadoop-1  -Dmaven.javadoc.skip=true -DcreateChecksum=true
    
    % cd packaging/target
    % md5 apache-hive-0.13.0-bin.tar.gz > apache-hive-X.Y.Z clean test tar binary
    -bin.tar.gz.md5
    % md5 apache-hive-0.13.0-src.tar.gz > apache-hive-X.Y.Z-src.tar.gz.md5
  3. Verify that the MD5 checksums are valid:

    No Format
    % md5sum -c hive-X.Y.Z.tar.gz.md5
    hive-X.Y.Z.tar.gz: OK
    
    % md5sum -c hive-X.Y.Z-bin.tar.gz.md5
    hive-X.Y.Z-bin.tar.gz: OK
    
  4. Check that release file looks ok - e.g. install it and run examples from tutorial.
  5. Setup your PGP keys for signing the release, if you don't have it
    1. See http://www.apache.org/dev/release-signing.html
  6. Sign the release (see Step-By-Step Guide to Mirroring Releases for more information).

    No Format
    % gpg --armor --output apache-hive-X.Y.Z-bin.tar.gz.asc --detach-sig apache-hive-X.Y.Z-bin.tar.gz
    % gpg --armor --output apache-hive-X.Y.Z-binsrc.tar.gz.asc --detach-sig apache-hive-X.Y.Z-binsrc.tar.gz
    
  7. Copy release files to a public place.

    No Format
    % ssh people.apache.org mkdir public_html/hive-X.Y.Z-candidate-0
    % scp -p apache-hive-X.Y.Z*.tar.gz* people.apache.org:public_html/apache-hive-X.Y.Z-candidate-0
    
  8. Publish Maven artifacts to the Apache staging repository:

    No Format
    % mvn antdeploy -Dversion=X.Y.Z -Dmvn.publish.repo=staging maven-build
    % ant -Dversion=X.Y.Z -Dmvn.publish.repo=staging maven-publishDskipTests -Phadoop-1 -Papache-release -Dmaven.javadoc.skip=true
    
  9. Login to the Apache Nexus server and "close" the staged repository. This makes the artifacts available at a temporary URL.

...