3 rev=$(git rev-parse HEAD)
4 last_tag=$(git tag -l | grep -E '^[0-9]+' | sort -V | tail -n1)
10 set -- $(git describe --tags)
16 Making tag: $tag at revision $rev
18 You probably want to fill git shortlog from last tag $last_tag as annotated tag message:
20 git shortlog $last_tag..HEAD
22 Press ENTER to continue, Ctrl+C to abort
26 git tag -a "$tag" $rev
32 git push origin "refs/tags/$tag"