beautify release script

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2011-11-18 16:04:19 +01:00
parent 3605e478e6
commit 55ec36b562
1 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ echo "lib: $lib_version"
if [ "$lib_version" != "$changelog_version" ]; then
echo "Messed up versions, not releasing"
exit 1
else
echo "Version are sane, continuing"
fi
echo "Press enter to continue"
read wait
@ -32,7 +34,7 @@ version=$lib_version
branch=${version%.?}
# add tag
printf "Enter tag description for %s>" "$version"
printf "Enter tag description for %s> " "$version"
read tagmessage
git tag "$version" -m "$tagmessage"