Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Pig Wiki" for change 
notification.

The following page has been changed by OlgaN:
http://wiki.apache.org/pig/HowToRelease

------------------------------------------------------------------------------
  https://svn.apache.org/repos/asf/hadoop/pig/tags/release-X.Y.Z-rcR -m "Pig 
X.Y.Z-rcR release."
  }}}
  
+ == Building ==
+ 
+  1. Build the release and run unit tests: {{{
+ ant clean
+ ant test
+ ant clean
+ ant -Dversion=X.Y.Z tar
+ }}}
+  2. Test the tar file by unpacking the release and
+   * building pig.jar: {{{ant }}}
+   * building and running tutorial {{{
+ cd tutorial
+ ant
+ }}}
+   * build piggybank{{{
+ cd contrib/piggybank/java
+ ant
+ }}}
+   * running unit tests {{{ant test}}}
+  3. Generate the MD5 checksum of the release file: {{{
+ cd build
+ md5sum pig-X.Y.Z.tar.gz > pig-X.Y.Z.tar.gz.md5
+ }}}
+  4. Sign the release (see 
[http://www.apache.org/dev/mirror-step-by-step.html?Step-By-Step Step-By-Step 
Guide to Mirroring Releases] for more information). {{{
+ gpg --armor --output pig-X.Y.Z.tar.gz.asc --detach-sig pig-X.Y.Z.tar.gz
+ }}}
+  5. Copy release files to a public place (usually into public_html in your 
home directory):{{{
+ ssh people.apache.org mkdir public_html/pig-X.Y.Z-candidate-0
+ scp -p pig-X.Y.Z.tar.gz* people.apache.org:public_html/pig-X.Y.Z-candidate-0
+ cd ..
+ scp RELEASE_NOTES.txt people.apache.org:public_html/pig-X.Y.Z-candidate-0
+ }}}
+  6. Call a release vote.
+ 
+ 

Reply via email to