4 echo "Usage: $0 <tagname>"
17 ver
=`echo $tag | sed -e 's/^v//'`
19 echo "About start release process of '`git rev-parse HEAD`' as '$tag'..."
20 echo "Press enter to continue."
23 echo "1) Edit VERSION in 'Makefile'"
26 git update-index Makefile
27 git commit
-s -m "HVF $ver"
29 echo "2) Tag the commit with '$tag'"
31 git tag
-u C7958FFE
-m "HVF $tag" "$tag"
33 echo "3) Generate hvf-$ver.tar.{gz,bz2}"
35 git archive
--format=tar --prefix=hvf-
$ver/ HEAD |
gzip -9 > hvf-
$ver.
tar.gz
36 git archive
--format=tar --prefix=hvf-
$ver/ HEAD |
bzip2 -9 > hvf-
$ver.
tar.bz2
40 echo "We're all done, have a nice day."