Changeset 5157:5af6b6ef8c96

Show
Ignore:
Timestamp:
2007-05-26 17:52:06 (20 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
mutt-1-4-stable
Message:

stable build-release updates

Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • build-release

    r2883 r5157  
    1717# devel="devel/"        # comment out for the stable branch 
    1818 
     19# test for uncommitted changes 
     20if hg id | grep -q '+' 
     21then 
     22  echo "Uncommitted changes" 
     23  exit 1 
     24fi 
     25 
    1926# update the source 
    2027 
    21 cvs update 
     28hg update 
    2229 
    2330# Do automated security checks 
     
    2734# bump the version number, and calculate the tags 
    2835 
    29 rm -f VERSION  
    30 cvs update VERSION  
     36hg revert VERSION  
    3137OVERSION="`cat VERSION`"  
    3238OTAG="mutt-`echo $OVERSION | tr . -`-rel"  
     
    4046echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > reldate.h 
    4147 
    42 rcs2log | cat - ChangeLog > ChangeLog.$$ && mv ChangeLog.$$ ChangeLog 
     48#rcs2log | cat - ChangeLog > ChangeLog.$$ && mv ChangeLog.$$ ChangeLog 
    4349${VISUAL} ChangeLog 
    4450 
     
    5561# build them 
    5662 
    57 # make us-dist 
    5863make dist 
    59 mv mutt-${VERSION}.tar.gz mutt-${VERSION}i.tar.gz 
    60 # mv mutt-${VERSION}-us.tar.gz mutt-${VERSION}.tar.gz 
    6164 
    6265# commit and tag the release 
    6366 
    64 cvs commit -m "automatic post-release commit for mutt-${VERSION}" 
    65 cvs tag ${TAG} 
     67hg commit -m "automatic post-release commit for mutt-${VERSION}" 
     68hg tag ${TAG} 
     69hg sign ${TAG} 
    6670 
    6771# build the diff between the two releases 
    6872 
    69 cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \ 
    70         > diff-${OVERSION}i-${VERSION}i.gz 
     73hg diff -r ${OTAG} -r ${TAG} mutt | gzip -9 \ 
     74        > diff-${OVERSION}i-${VERSION}.gz 
    7175 
    7276# sign the various files 
    7377 
    74 # DISTFILES="mutt-${VERSION}.tar.gz mutt-${VERSION}i.tar.gz diff-${OVERSION}i-${VERSION}i.gz" 
    75 DISTFILES="mutt-${VERSION}i.tar.gz diff-${OVERSION}i-${VERSION}i.gz" 
     78DISTFILES="mutt-${VERSION}.tar.gz diff-${OVERSION}i-${VERSION}.gz" 
    7679 
    7780for f in $DISTFILES; do 
    78         pgp -sb $f 
     81        gpg -ba $f 
    7982        chmod 644 $f.asc 
    8083done 
    8184 
    82 echo "Release built.  Please connect to the net and press <enter>" 
    83 echo "when on-line." 
    84  
    85 read dummy 
    86  
    8785for f in $DISTFILES ; do 
    8886#       scp1 $f $f.asc sigtrap.guug.de:/home/ftp/pub/mutt/${devel} 
    89         scp $f $f.asc trithemius.gnupg.org:/home/ftp/pub/mutt/${devel} 
     87        scp $f $f.asc cvs.gnupg.org:/home/ftp/pub/mutt/${devel} 
    9088done 
    91  
    92 $HOME/bin/upload-cvs 
    93 cvs update 
    9489 
    9590# Finally, announce the new mutt to the public 
    9691 
    97 mutt -s "[Announce] mutt-${VERSION} is out" mutt-dev@mutt.org 
     92#mutt -s "[Announce] mutt-${VERSION} is out" mutt-dev@mutt.org 
    9893