Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by damitha: http://wiki.apache.org/ws/FrontPage/Axis2C/releases/steps ------------------------------------------------------------------------------ 1. tag the SVN * do a svn cp to the tags location of the project. + ( - (eg : svn copy https://svn.apache.org/repos/asf/webservices/axis2/trunk/c \ + (eg : svn copy https://svn.apache.org/repos/asf/webservices/axis2/trunk/c \ - https://svn.apache.org/repos/asf/webservices/axis2/tags/c/M0.5-1 \ + https://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc1 \ - -m "Tagging the M0.5 release of the 'axis2c' project.") + -m "Tagging the 1.2.0 release of the 'axis2c' project for RC1 for the first time") 1. Take a '''new checkout''' and from the tag + (eg : svn checkout http://svn.apache.org/repos/asf/webservices/axis2/tags/c/1.2.0-rc2-4 ./1_2_0) {{{ - replace line AXIS2C_HOME=`pwd`/deploy in build.sh with - AXIS2C_HOME=~/release/release_ver/axis2c-release_ver - sh build.sh - make dist + cd 1_2_0 + remove Werror flag from configure.ac, neethi/configure.ac and util/configure.ac + To create binary and source distributions + sh dist1.sh > info 2> errors + By using source zip file created, create a windows binary named axis2c-bin-1.2.0-win32.zip and put it to ~/projects/release/axis2c-1.2.0 + To create checksums, sign and verify + sh dist2.sh > info 2> errors + To upload + sh copy.sh }}} + See appendix for the contents of the scripts build.sh(used inside dist1.sh) dist1.sh and dist2.sh and copy.sh + - This will create all the distributable in release_ver folder. - - - 1. Strip all the binaries - {{{ - strip all libraries - strip -g * - }}} - 2. Remove all .la files in the lib folder - - 1. Pack the binaries - eg; tar -zcf axis2c-bin-M0.5-linux.tar.gz axis2c-M0.5 - - 1. Create Checksums - {{{ - openssl md5 < axis2c-xxx-xxx.tar.gz > axis2c-xxx-xxx.tar.gz.md5 - }}} - do same to all the distributables. - - 1. Sign and verify the relases - {{{ - #gpg --armor --output axis2c-xxx-xxx.tar.gz.asc --detach-sig axis2c-xxx-xxx.tar.gz - #gpg --verify axis2c-xxx-xxx.tar.gz.asc axis2c-xxx-xxx.tar.gz - }}} - do same to all the distributables. - 1. Upload release to your home dir at apache 1. Copy the release from your home to /www/www.apache.org/dist/ws/axis2-c/ 1. Move earlier releases to archive.apache.org (/www/archive.apache.org/dist/ws/axis2/c/) @@ -113, +96 @@ 1. http://www.apache.org/dev/ 1. http://www.apache.org/foundation/voting.html + === Appendix === + Contents of build.sh + {{{ + #!/bin/bash + set -e + sh autogen.sh + AXIS2C_HOME=`pwd`/deploy + export AXIS2C_HOME + echo "AXIS2C_HOME = ${AXIS2C_HOME}" + + sh configure --prefix=`pwd`/deploy --enable-tests=yes --with-apache2=/usr/local/apache2/include --enable-tcp=yes --with-archive=/usr/include + make -j 10 + make install + + cd samples + sh autogen.sh + sh configure --prefix=`pwd`/../deploy --with-axis2=`pwd`/../deploy/include/axis2-1.2 + make -j 10 + make install + cd .. + }}} + + Contents of dist1.sh + {{{ + #!/bin/bash + sh clean.sh + rm -rf /axis2c/deploy + + AXIS2C_HOME=`pwd`/deploy + export AXIS2C_HOME + + echo "If you do not need to build Axis2/C %sh dam_dist1.sh nobuild" + BIN_DIR=axis2c-bin-1.2.0-linux + SRC_DIR=axis2c-src-1.2.0 + TAR_GZ=$BIN_DIR.tar.gz + WIN_ZIP=axis2c-bin-1.2.0-win32.zip + SRC_TAR_GZ=$SRC_DIR.tar.gz + SRC_ZIP=$SRC_DIR.zip + MD5=$TAR_GZ.md5 + ASC=$TAR_GZ.asc + SRC_TAR_GZ_MD5=$SRC_TAR_GZ.md5 + SRC_ZIP_MD5=$SRC_ZIP.md5 + SRC_TAR_GZ_ASC=$SRC_TAR_GZ.asc + SRC_ZIP_ASC=$SRC_ZIP.asc + WIN_MD5=$WIN_ZIP.md5 + WIN_ASC=$WIN_ZIP.asc + PWDIR=$PWD + + echo "Deleting $BIN_DIR, $TAR_GZ, $MD5 etc if any" + rm -rf $BIN_DIR + rm -f $TAR_GZ + rm -f $MD5 + rm -rf $SRC_DIR + rm -f $SRC_TAR_GZ + rm -f $SRC_ZIP + rm -f $SRC_TAR_GZ_MD5 + rm -f $SRC_ZIP_MD5 + rm -f $WIN_MD5 + rm -f $ASC + rm -f $SRC_ZIP_ASC + rm -f $SRC_TAR_GZ_ASC + rm -f $WIN_ASC + + if [ $# -ne 1 ] + then + sh build.sh + fi + + echo "Making source distribution" + make dist + + echo "Making binary distribution" + make bindist + }}} + + Contents of dist2.sh + {{{ + #!/bin/bash + + BIN_DIR=axis2c-bin-1.2.0-linux + SRC_DIR=axis2c-src-1.2.0 + TAR_GZ=$BIN_DIR.tar.gz + WIN_ZIP=axis2c-bin-1.2.0-win32.zip + SRC_TAR_GZ=$SRC_DIR.tar.gz + SRC_ZIP=$SRC_DIR.zip + MD5=$TAR_GZ.md5 + ASC=$TAR_GZ.asc + SRC_TAR_GZ_MD5=$SRC_TAR_GZ.md5 + SRC_ZIP_MD5=$SRC_ZIP.md5 + SRC_TAR_GZ_ASC=$SRC_TAR_GZ.asc + SRC_ZIP_ASC=$SRC_ZIP.asc + WIN_MD5=$WIN_ZIP.md5 + WIN_ASC=$WIN_ZIP.asc + PWDIR=$PWD + + echo "Deleting windows binary zip, $MD5 $ASC etc if any" + rm -f $WIN_ZIP + rm -f $MD5 + rm -f $SRC_TAR_GZ_MD5 + rm -f $SRC_ZIP_MD5 + rm -f $WIN_MD5 + rm -f $ASC + rm -f $SRC_ZIP_ASC + rm -f $SRC_TAR_GZ_ASC + rm -f $WIN_ASC + + tar -zxf axis2c-src-1.2.0.tar.gz + zip -rq axis2c-src-1.2.0.zip axis2c-src-1.2.0 + cp -f ../axis2c-bin-1.2.0-win32.zip ./ + echo "Creating MD5" + openssl md5 < $TAR_GZ > $MD5 + openssl md5 < $SRC_TAR_GZ > $SRC_TAR_GZ_MD5 + openssl md5 < $WIN_ZIP > $WIN_MD5 + openssl md5 < $SRC_ZIP > $SRC_ZIP_MD5 + + echo "To sign please enter password for the private key" + gpg --armor --output $TAR_GZ.asc --detach-sig $TAR_GZ + gpg --armor --output $SRC_TAR_GZ.asc --detach-sig $SRC_TAR_GZ + gpg --armor --output $WIN_ZIP.asc --detach-sig $WIN_ZIP + gpg --armor --output $SRC_ZIP.asc --detach-sig $SRC_ZIP + + echo "DONE" + }}} + + Content of copy.sh + {{{ + rm -rf 1.2.0 + rm -f 1.2.0.tar.gz + mkdir 1.2.0 + cp -f ../KEYS 1.2.0 + cp -f axis2c-* 1.2.0 + tar zcf axis2c_1.2.0.tar.gz 1.2.0 + scp axis2c_1.2.0.tar.gz [EMAIL PROTECTED]:~/ + }}} + --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
