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/pig/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 file.
    Code Block
    ant -Djava5.home=<java5 jdk dir> releaseaudit >out
    
  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-SNAPSHOT, where N is one greater than the release being made.
  6. Update pig.version in libraries.properties to X.Y.Z
  7. Commit these changes:
    Code Block
    svn commit -m "Preparing for release X.Y.Z"
    
  8. Tag the release candidate:
    Code Block
    svn copy https://svn.apache.org/repos/asf/pig/branches/branch-X.Y \
    https://svn.apache.org/repos/asf/pig/tags/release-X.Y.Z-rcR -m "Pig X.Y.Z-rcR release."
    

...