blob: 51650f11a9a67f481869938fe57e8a13fc03c5ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
FROM=$1
TO=$2
OUTPUT=$3
series=('v1.0' 'v1.0.1')
logname="z-changes-${series[0]}.md"
echo "## Changes for stable branch ${series[0]}
" >> $logname
for ((i = 1; i < ${#series[@]}; i++)) do
curr=${series[i]}
prev=${series[i-1]}
echo "### Changes from $prev to $curr
" >> $logname
git log --pretty=format:'* [%h](http://ufo.kit.edu/repos/libuca.git/commit/?id=%h): %s' $prev..$curr >> $logname
done
|