Skip to content

Commit 55ad2f5

Browse files
committed
update changelog.sh script
1 parent 34e8eac commit 55ad2f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/dev/changelog.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if [ $# -ne 2 ]; then
22
echo Error: wrong number of arguments
3-
echo Usage: ./thanks.sh tag1 tag2
3+
echo Usage: ./changelog.sh tag1 tag2
44
fi
5-
git log $1...$2 --no-merges --pretty=format:'- %s [commit](https://github.com/openframeworks/openFrameworks/commit/%H)' --reverse | sed 's/^\s*[0-9][0-9]*\s\(.*\)$/- \1/g'
5+
git log --ancestry-path $1..$2 --no-merges --pretty=format:'- %s [commit](https://github.com/openframeworks/openFrameworks/commit/%H)' | sed 's/^\s*[0-9][0-9]*\s\(.*\)$/- \1/g'

0 commit comments

Comments
 (0)