X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=buildship;h=e10562b2c09eba7ca89e416f3976f00ecb2f7bc7;hp=e2df0f676a3fd0eb1354ba1e6a26a6a3ea8baf0f;hb=d237116707105a3ca6cf367a672bc5263cf7856d;hpb=dbad0a53f8c54ac65c5859d3e213a10821b797ff diff --git a/buildship b/buildship index e2df0f6..e10562b 100755 --- a/buildship +++ b/buildship @@ -2,7 +2,7 @@ # to release, check out a fresh copy and then run this set -e -version=`sed -n 's/^#define VERSION \".*\" *$/\1/' +version="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' Changelog`" targz=userv-$version.tar.gz tag=`echo release-$version | sed -e 's/\./-/g'`