Show
Ignore:
Timestamp:
2007-04-06 13:14:24 (20 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Fix up release scripts for Hg

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • build-release

    r4969 r5081  
    2424devel="devel/"  # comment out for the stable branch 
    2525 
     26# test for uncommitted changes 
     27if hg id | grep -q '+' 
     28then 
     29  echo "Uncommitted changes" 
     30  exit 1 
     31fi 
     32 
    2633# update the source 
    2734 
    28 #cvs update 
     35hg update 
    2936 
    3037# Do automated security checks 
     
    6774#cvs commit -m "automatic post-release commit for mutt-${VERSION}" 
    6875#make commit-changelog  
    69 #cvs tag ${TAG} 
     76hg tag ${TAG} 
    7077 
    7178# build the diff between the two releases 
    7279 
    73 if test "$diff" = yes ; then 
    74         cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \ 
     80if test "$diff" = yes 
     81then 
     82  hg diff -r ${OTAG} -r ${TAG} | gzip -9 \ 
    7583                > diff-${OVERSION}-${VERSION}.gz 
    7684fi 
     
    102110done 
    103111 
    104 cvs update 
     112hg update 
     113gpg sign 
    105114 
    106115# Finally, announce the new mutt to the public