httpd_roll_release revision 4e191199a0aeab09d78df8f5579e745572e8b7bc
if [ "x$1" = "xhelp" -o "x$2" = "x" ]; then
echo "Usage: ./httpd_roll_release tag log_name [user]"
echo "tag the tag to use when checking out the repository"
echo "log_name the name of a file to log the results to."
echo "user An optional user name to use when siging the release"
exit
else
TAG=$1
fi
USER=$3
REPO="httpd-2.0"
# Check out the correct repositories.
echo "Checking out repository $REPO into $WORKING_DIR using tag $TAG"
umask 022
echo "Checking out apr, and apr-util" >> $LOG_NAME
# Make sure the master site's FAQ is up-to-date. It doesn't hurt to do this
# all the time. :-)
echo "REMEMBER TO UPDATE THE SITE'S FAQ!!"
#(cd /www/httpd.apache.org/docs-2.1/faq/; cvs update)
# Now update the FAQ in the tarball via a download from the master site.
# The FAQ contains SSI tags too complex for the expand.pl script to handle.
# Create the configure scripts
echo "Creating the configure script"
echo >> $LOG_NAME
echo "Running ./buildconf" >> $LOG_NAME
echo >> $LOG_NAME
echo "Fixup the timestamps preventing remake of generated files." >> $LOG_NAME
# Remove any files we don't distribute with our code
echo >> $LOG_NAME
echo "Removing files that we don't distribute"
echo "Removing files that we don't distribute" >> $LOG_NAME
# expand SSI directives in the manual
echo "Making sure people can read the manual (expanding SSI's)"
echo >> $LOG_NAME
echo "Making sure people can read the manual (expanding SSI's)" >> $LOG_NAME
# Time to roll the tarball
echo "Rolling the tarballs"
cd $START_DIR
echo >> $LOG_NAME
echo "Rolling the tarball" >> $LOG_NAME
# Test the tarballs
echo "Testing the tarball"
echo >> $LOG_NAME
echo "Testing the tarball $WORKING_DIR-alpha.tar.gz" >> $LOG_NAME
# remember the CHANGES file
echo "Copying the CHANGES file to this directory"
# cleanup
echo "Cleaning up my workspace"
if [ "x$USER" != "x" ]; then
fi
echo "Signing the tarballs" >> $LOG_NAME
echo "Don't forget to make the tarballs available by copying them to the"
echo "/www/httpd.apache.org/dev/dist directory."