(do_version4): if an tgs-req is received with an old kvno, return an
[heimdal.git] / make-release
blob3225b0474fcaaa0c24587c9953733c73cc0978a1
1 #!/bin/sh
2 # $Id$
4 if [ ! -f configure.in ]; then
5 echo "Must be in top directory"
6 exit 1
7 fi
9 if [ $# -ne 1 -a $# -ne 2 ]; then
10 echo "make-release version [branch]"
11 exit 1
14 if [ "$2" != "" ]; then
15 rev="-r $2"
18 HV="$1" emacs -batch -q -no-site-file -l ./make-release.el || exit
20 echo cvs ci -m \"Release $1\" configure.in ChangeLog
21 cvs ci -m "Release $1" configure.in ChangeLog || exit 1
22 v=`echo $1 | sed 's/\(.\)\.\(.\)\(.\)/\1-\2-\3/'`
23 echo cvs rtag $rev heimdal-$v heimdal
24 cvs rtag $rev heimdal-$v heimdal || exit 1