3 rev=$(git rev-parse HEAD)
4 last_tag=$(git tag -l | grep '^0' | sort -V | tail -n1)
9 tag=$(awk -F, '/AC_INIT/{print $2}' configure.ac | tr -d '[ ]')
13 Making tag: $tag at revision $rev
15 You probably want to fill git shortlog from last tag $last_tag as annotated tag message:
17 git shortlog $last_tag..HEAD
19 Press ENTER to continue, Ctrl+C to abort
23 git tag -a "$tag" $rev
29 git push origin "refs/tags/$tag"