diff options
-rwxr-xr-x | scripts/announce-release.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/announce-release.sh b/scripts/announce-release.sh index 9d6519e..f27e0cb 100755 --- a/scripts/announce-release.sh +++ b/scripts/announce-release.sh @@ -56,25 +56,25 @@ shortlog="$(git shortlog "${old_tag}..HEAD" | \ if [ $(printf '%s\n' "${shortlog}" | wc -l) -gt 100 ]; then shortlog="$(git shortlog -s "${old_tag}..HEAD"; cat <<-EOF - Commit descriptions suppressed for brevity. To see a log - summary with descriptions, run: + Commit descriptions suppressed for brevity. To see a log summary with + descriptions, run: - \$ git shortlog ${old_tag}..${package}/${version} - EOF - )" + \$ git shortlog ${old_tag}..${package}/${version} + EOF + )" fi diffstat="$(git diff --stat=72 --color=never --find-renames=50% \ "${old_tag}..HEAD")" if [ $(printf '%s\n' "${diffstat}" | wc -l) -gt 50 ]; then diffstat="$(printf '%s\n' "${diffstat}" | tail -n 1; cat <<-EOF - Difference statistics truncated for brevity. To see full - statistics, run: + Difference statistics truncated for brevity. To see full statistics, + run: - \$ git diff --stat --find-renames=50% \\ - > ${old_tag}..${package}/${version} - EOF - )" + \$ git diff --stat --find-renames=50% \\ + > ${old_tag}..${package}/${version} + EOF + )" fi message="$({ cat | sed 's/=/=3D/g; s/ $/=20/; s/\t$/=09/;'; } <<-EOF |