Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 26 lines (15 sloc) 0.476 kB
16d86b0 Auto-generate the ChangeLog file from commits
Gustavo J. A. M. Carneiro authored
1 #!/bin/sh
2
3 ChangeLog=$(dirname $0)/ChangeLog
4 chmod u+w $ChangeLog 2> /dev/null
4fd0cd5 ChangeLog generation from GIT
Gustavo Carneiro authored
5
6 if [ -d .bzr ]; then
7 ## Uses the GNU ChangeLog formatter plugin:
8 ## http://telecom.inescporto.pt/~gjc/gnulog.py
9 export BZR_PLUGIN_PATH=`pwd`/bzrplugins
10 bzr log -v --log-format 'gnu' -r 538..-1 > $ChangeLog
11
12 elif [ -d .git ]; then
13
14 $(dirname $0)/gitlog2changelog.py
15
16 else
17
18 echo "ERROR: not a bzr or git repository, cannot generate ChangeLog."
19 exit 2;
20
21 fi
22
16d86b0 Auto-generate the ChangeLog file from commits
Gustavo J. A. M. Carneiro authored
23 chmod a-w $ChangeLog
4fd0cd5 ChangeLog generation from GIT
Gustavo Carneiro authored
24
25
Something went wrong with that request. Please try again.