2 # to release, check out a fresh copy and then run this
5 version="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' Changelog`"
6 targz=userv-$version.tar.gz
7 tag=`echo release-$version | sed -e 's/\./-/g'`
9 echo >&2 "*** Tagging (version $version, tag $tag) ..."
12 echo >&2 '*** Generating pre-built files ...'
16 make ship VERSION=$version
20 echo >&2 '*** Checking whether identical to repository version ...'
26 if test "x`cvs -n update`" != x
35 echo >&2 '*** Doing test build ...'
42 echo >&2 "*** OK. Distribution file is ../$targz."
43 mv -f shipcheck/$targz ..