duckstation/scripts/generate_release_commit_lis...

16 lines
214 B
Bash
Raw Normal View History

#!/usr/bin/env bash
if [ "$#" -ne 1 ]; then
echo "Syntax: $0 <commit range, start..end>"
exit 1
fi
IFS="
"
printf "## Commits\n"
for i in $(git log --oneline --reverse "$1"); do
printf -- "- %s\n" "$i"
done