From 4c569f9790fdbbde8738f3a45fc79aeea3871e71 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Wed, 1 May 2002 23:14:49 +0000 Subject: [PATCH] - This is a development branch. - Add a -nodiff option to suppress generating a patch. --- build-release | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/build-release b/build-release index 26557c97..40dfdcdf 100755 --- a/build-release +++ b/build-release @@ -14,7 +14,14 @@ set -e -# devel="devel/" # comment out for the stable branch +if test "$1" = "-nodiff" ; then + diff=no +else + diff=yes +fi + + +devel="devel/" # comment out for the stable branch # update the source @@ -66,13 +73,19 @@ cvs tag ${TAG} # build the diff between the two releases -cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \ - > diff-${OVERSION}i-${VERSION}i.gz +if test "$diff" = yes ; then + cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \ + > diff-${OVERSION}i-${VERSION}i.gz +fi # sign the various files # DISTFILES="mutt-${VERSION}.tar.gz mutt-${VERSION}i.tar.gz diff-${OVERSION}i-${VERSION}i.gz" -DISTFILES="mutt-${VERSION}i.tar.gz diff-${OVERSION}i-${VERSION}i.gz" +DISTFILES="mutt-${VERSION}i.tar.gz" + +if test "$diff" = yes ; then + DISTFILES="$DISTFILES diff-${OVERSION}i-${VERSION}i.gz" +fi for f in $DISTFILES; do pgp -sb $f @@ -86,7 +99,7 @@ read dummy for f in $DISTFILES ; do # scp1 $f $f.asc sigtrap.guug.de:/home/ftp/pub/mutt/${devel} - scp1 $f $f.asc trithemius.gnupg.org:/home/ftp/pub/mutt/${devel} + scp $f $f.asc trithemius.gnupg.org:/home/ftp/pub/mutt/${devel} done $HOME/bin/upload-cvs -- 2.40.0