Versions Compared

Key

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

...

  1. Check out the branch with:
    Code Block
    svn co https://svn.apache.org/repos/asf/incubator/hcatalog/branches/branch-X.Y
    
  2. Run rat report and make sure that all files that can have apache license agreement. Note that currently the rat report is part of output and needs to be manually extracted. TODO: write the report into a fileGenerate the releaseaudit report and verify its output, ensuring files have Apache license agreement headers (checkstyle should enforce this), and that nothing looks out of order. The file is written to build/releaseaudit_report.txt.
    Code Block
        ant -Dforrest.home=<forrest installation dir> releaseaudit > rat_report
    
    Save the rat_report file, you will need it later
    clean releaseaudit
    
  3. For patches, update CHANGES.txt to include the release version and date. See #2 from Create Release Branch section.
  4. Update RELEASE_NOTES.txt for this release:
    1. Make sure to change all of the version number references to the current version number.
    2. Note highlights for this release. CHANGES.txt is a great place to find these.
    3. Note incompatibilities for this release. These should be listed under INCOMPATIBLE CHANGES in CHANGES.txt.
  5. Update the version number in build.xml to be X.Y.N-dev, where N is one greater than the release being made.
  6. Commit these changes:
    Code Block
        svn commit -m "Preparing for release X.Y.Z"
    
  7. Tag the release candidate, where R is the iteration number for this release candidate, starting with 0:
    Code Block
        svn copy https://svn.apache.org/repos/asf/incubator/hcatalog/branches/branch-X.Y \
        https://svn.apache.org/repos/asf/incubator/hcatalog/tags/release-X.Y.Z-rcR -m "HCatalog X.Y.Z-rcR release."
    

...