httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-site httpd_roll_release
Date Sun, 11 Feb 2001 16:01:22 GMT
rbb         01/02/11 08:01:22

  Modified:    .        httpd_roll_release
  Log:
  *) Fix the tarball name by using the minor number from the tag.
  *) Make the script sign the tarball for us.
  
  Revision  Changes    Path
  1.6       +22 -4     httpd-site/httpd_roll_release
  
  Index: httpd_roll_release
  ===================================================================
  RCS file: /home/cvs/httpd-site/httpd_roll_release,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -d -b -w -u -r1.5 -r1.6
  --- httpd_roll_release	2001/02/10 06:10:45	1.5
  +++ httpd_roll_release	2001/02/11 16:01:22	1.6
  @@ -1,17 +1,22 @@
   #!/bin/sh
   
   if [ "x$1" = "xhelp" ]; then
  -    echo "Usage:  ./httpd_roll_release tag log_name"
  -    echo "tag        is the tag to use when checking out the repository"
  -    echo "log_name   is the name of a file to log the results to."
  +    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"
   else
       TAG=$1
   fi
   
   LOG_NAME=$2
   
  +USER=$3
  +
   REPO="httpd-2.0"
   WORKING_DIR=`echo "$REPO" | sed -e 's/\-/_/g'`
  +WORKING_TAG=`echo "$TAG" | sed -e 's/APACHE_2_0_/./'`
  +WORKING_DIR="$WORKING_DIR$WORKING_TAG"
   
   START_DIR=`echo "$PWD"`
   
  @@ -92,5 +97,18 @@
   echo "Cleaning up my workspace"
   rm -fr $WORKING_DIR
   
  +if [ "x$USER" != "x" ]; then
  +    USER="-u $USER"
  +fi
  +
  +echo Tagging the tarballs
  +
  +echo "Taggig the tarballs" >> $LOG_NAME
  +pgp -sba $WORKING_DIR.tar.gz $USER
  +pgp -sba $WORKING_DIR.tar.Z $USER
  +
  +pgp $WORKING_DIR.tar.gz.asc $WORKING_DIR.tar.gz >> $LOG_NAME
  +pgp $WORKING_DIR.tar.Z.asc $WORKING_DIR.tar.Z >> $LOG_NAME
  +
   echo "Don't forget to make the tarballs available by copying them to the"
  -echo "/www/dev.apache.org/dist directory, after signing them."
  +echo "/www/dev.apache.org/dist directory."
  
  
  

Mime
View raw message