summaryrefslogtreecommitdiffstats
path: root/build-release
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2007-04-06 13:14:24 -0700
committerBrendan Cully <brendan@kublai.com>2007-04-06 13:14:24 -0700
commit3e69f4696bda79d7d29f89a7648c78404a6a9b81 (patch)
tree35e9dc6b0ca8583fd0ce4a25eea793eba982e325 /build-release
parent1f7a554ac58d5a4f6324c66a782487800835868f (diff)
Fix up release scripts for Hg
Diffstat (limited to 'build-release')
-rwxr-xr-xbuild-release19
1 files changed, 14 insertions, 5 deletions
diff --git a/build-release b/build-release
index bfbba179..7a46eb45 100755
--- a/build-release
+++ b/build-release
@@ -23,9 +23,16 @@ fi
devel="devel/" # comment out for the stable branch
+# test for uncommitted changes
+if hg id | grep -q '+'
+then
+ echo "Uncommitted changes"
+ exit 1
+fi
+
# update the source
-#cvs update
+hg update
# Do automated security checks
@@ -66,12 +73,13 @@ make dist
#cvs commit -m "automatic post-release commit for mutt-${VERSION}"
#make commit-changelog
-#cvs tag ${TAG}
+hg tag ${TAG}
# build the diff between the two releases
-if test "$diff" = yes ; then
- cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \
+if test "$diff" = yes
+then
+ hg diff -r ${OTAG} -r ${TAG} | gzip -9 \
> diff-${OVERSION}-${VERSION}.gz
fi
@@ -101,7 +109,8 @@ for f in $DISTFILES ; do
scp $f $f.asc trithemius.gnupg.org:/home/ftp/mutt/${devel}
done
-cvs update
+hg update
+gpg sign
# Finally, announce the new mutt to the public