mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
13 lines
433 B
Bash
Executable File
13 lines
433 B
Bash
Executable File
#!/bin/bash
|
|
|
|
LAST_TAG=$(git tag -l | sort -V | grep -v -- '-rc' | grep 'v'| tail -n1)
|
|
|
|
git log --oneline --merges --reverse $LAST_TAG...master |
|
|
while read MERGE
|
|
do
|
|
commit=$(echo $MERGE | awk '{ print $1 }')
|
|
prnum=$(echo $MERGE | awk '{ print $5 }' | tr -d '#')
|
|
desc=$(git show $commit | sed '8q;d' | sed 's/^ //g')
|
|
printf " - %s ([ipfs/go-ipfs#%s](https://github.com/ipfs/go-ipfs/pull/%s))\n" "$desc" "$prnum" "$prnum"
|
|
done
|