2 # to release, check out a fresh copy and then run this
7 echo >&2 'usage: buildship <version>'
11 targz=userv-$version.tar.gz
12 tag=`echo release-$version | sed -e 's/\./-/g'`
14 echo >&2 "Tagging (version $version, tag $tag) ..."
17 echo >&2 'Generating pre-built files ...'
21 make ship VERSION=$version
25 echo >&2 'Checking whether identical to repository version ...'
28 cp userv-$version/* userv/.
30 if test "x`cvs -n update`" != x
39 echo >&2 'Doing test build ...'
46 echo >&2 "OK. Distribution file is ../$targz."
47 mv -f shipcheck/$targz ..