mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 17:16:59 +02:00
updates releaser.sh to include squashed commits
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
This commit is contained in:
parent
daeee26684
commit
4175d2fba9
@ -20,6 +20,14 @@ function generate_changelog {
|
||||
pr_author="$(gh pr view "$pr_num" | grep author | awk '{ print $2 }' | tr $'\n' ' ')"
|
||||
printf "* %s (%s) @%s\n\n" "$pr_desc" "$pr_num" "$pr_author"
|
||||
done
|
||||
|
||||
git log "$previous_tag".. --reverse --oneline --grep='(#' | \
|
||||
while read -r sha title; do
|
||||
pr_num="$(grep -o '#[[:digit:]]\+' <<<"$title")"
|
||||
pr_desc="$(git show -s --format=%s "$sha")"
|
||||
pr_author="$(gh pr view "$pr_num" | grep author | awk '{ print $2 }' | tr $'\n' ' ')"
|
||||
printf "* %s (%s) @%s\n\n" "$pr_desc" "$pr_num" "$pr_author"
|
||||
done
|
||||
}
|
||||
|
||||
function create_release {
|
||||
|
Loading…
Reference in New Issue
Block a user