3 tag_last
=`git tag | grep -E "[0-9]+\.[0-9]+\.[0-9]+" | tail -n 1`
7 echo "Commits between tags: ${tag_last} .. HEAD"
9 git log
${tag_last}..
--pretty=format
:"%s" |
sort
13 TEMP
=`getopt -o t -- "$@"`
17 -t) # commit log between last two tags
19 echo "Commits between tags: ${tag_second_last} .. ${tag_last}"
21 tag_second_last
=`git tag | grep -E "[0-9]+\.[0-9]+\.[0-9]+" | tail -n 2 | head -n 1`
22 git log
${tag_second_last}..
${tag_last} --pretty=format
:"%s" |
sort