From 87d9ba2c29acae7f65574dff5ac65234401fc583 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Apr 2019 11:29:42 -0400 Subject: scripts/announce-release.sh: Apply changes from pro-archman ec8b1f2 scripts/announce-release.sh: Update with opkbuild ba35988 scripts/announce-release.sh: Update signature 944e342 scripts/announce-release.sh: Wrap a long line fb9f687 scripts/announce-release.sh: Detect renames in diffstat --- diff --git a/scripts/announce-release.sh b/scripts/announce-release.sh index 74e915b..a166378 100755 --- a/scripts/announce-release.sh +++ b/scripts/announce-release.sh @@ -73,18 +73,18 @@ export GIT_DIR="${srcdir}/.git" ==================================$(printf '%s\n' "${old_version}" | \ sed 's/./=/g') - $(git shortlog "${package}/${old_version}..HEAD" | sed '/^..*$/s/^/ /') + $(git shortlog "${package}/${old_version}..HEAD" | \ + sed '/^..*$/s/^/ /') Diffstat of Changes Since Version ${old_version} ==================================$(printf '%s\n' "${old_version}" | \ sed 's/./=/g') - $(git diff --stat=69 --color=never "${package}/${old_version}..HEAD" | \ - sed 's/^/ /') + $(git diff --stat=69 --color=never --find-renames=50% \ + "${package}/${old_version}..HEAD" | sed 's/^/ /') -- $(: Just something to follow the trailing space) - Patrick "P. J." McDermott - http://www.pehjota.net/ - Lead Developer, ProteanOS - http://www.proteanos.com/ + Patrick "P. J." McDermott: http://www.pehjota.net/ + Lead Developer, ProteanOS: http://www.proteanos.com/ + Founder and CEO, Libiquity: http://www.libiquity.com/ EOF -- cgit v0.9.1