chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed description.
[userv.git]
/
buildship
diff --git
a/buildship
b/buildship
index f01b03e43233779586c0d5dd92b0148ae4e64df8..e10562b2c09eba7ca89e416f3976f00ecb2f7bc7 100755
(executable)
--- a/
buildship
+++ b/
buildship
@@
-2,12
+2,7
@@
# to release, check out a fresh copy and then run this
set -e
# to release, check out a fresh copy and then run this
set -e
-if test $# = 0
-then
- echo >&2 'usage: buildship <version>'
- exit 1
-fi
-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'`
targz=userv-$version.tar.gz
tag=`echo release-$version | sed -e 's/\./-/g'`