mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
14 lines
436 B
Bash
Executable File
14 lines
436 B
Bash
Executable File
#!/usr/bin/env bash
|
|
previous_tag=0
|
|
for current_tag in $(git tag --sort=-creatordate)
|
|
do
|
|
|
|
if [ "$previous_tag" != 0 ];then
|
|
tag_date=$(git log -1 --pretty=format:'%ad' --date=short ${previous_tag})
|
|
printf "## ${previous_tag} (${tag_date})\n\n"
|
|
git log ${current_tag}...${previous_tag} --pretty=format:'* %s [View](https://github.com/luxfi/mpc/commit/%H)' | grep -v Merge
|
|
printf "\n\n"
|
|
fi
|
|
previous_tag=${current_tag}
|
|
done
|