Skip to content

Commit 68f8a4a

Browse files
committed
fix(contrib): Fix markdown output of changelog script
Now the script will generate markdown lists just as the current changelog in deis/deis:CHANGELOG.md is in. Thanks to @bacongobbler for the insight about `--format` over `--pretty=format` and unneeded newlines not being echoed.
1 parent 32fc59f commit 68f8a4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/util/generate-changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ usage() {
55
}
66

77
retrieve() {
8-
git --no-pager log --oneline --no-merges --grep="$1" $FROM..$TO
8+
git --no-pager log --oneline --no-merges --oneline --format=" - %h %s" --grep="$1" $FROM..$TO
99
}
1010

1111
subheading() {

0 commit comments

Comments
 (0)