docs: Add 9.0.2 release md5sums
[profile/ivi/mesa.git] / bin / shortlog_mesa.sh
1 #!/bin/bash
2
3 # This script is used to generate the list of changes that
4 # appears in the release notes files, with HTML formatting.
5
6
7 typeset -i in_log=0
8
9 git shortlog $* | while read l
10 do
11     if [ $in_log -eq 0 ]; then
12         echo '<p>'$l'</p>'
13         echo '<ul>'
14         in_log=1
15     elif echo "$l" | egrep -q '^$' ; then
16         echo '</ul>'
17         echo
18         in_log=0
19     else
20         mesg=$(echo $l | sed 's/ (cherry picked from commit [0-9a-f]\+)//;s/\&/&amp;/g;s/</\&lt;/g;s/>/\&gt;/g')
21         echo '  <li>'${mesg}'</li>'
22     fi
23 done