summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 22:01:26 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 22:01:26 (EDT)
commitd9ae96f487d8a36e121952e0ea3af7542aec72de (patch)
tree85c89d8302c6bfac0d2f32e0f7833e2752d44cb1 /scripts
parent4cf7edfba3cbebe179cad589afecb2c9579278ac (diff)
scripts/announce-release.sh: Quote-printable globally
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/announce-release.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/announce-release.sh b/scripts/announce-release.sh
index 7b0f0c1..4bb02b9 100755
--- a/scripts/announce-release.sh
+++ b/scripts/announce-release.sh
@@ -23,7 +23,7 @@ heading()
shift 1
printf '%s\n' "${name}"
- printf '%s\n' "${name}" | sed 's/./=3D/g'
+ printf '%s\n' "${name}" | sed 's/./=/g'
}
about="$(sed -n '
@@ -51,7 +51,7 @@ old_tag="$(git tag --sort=creatordate | tail -n 2 | head -n 1)"
export GIT_DIR="${srcdir}/.git"
-message="$(cat <<-EOF
+message="$({ cat | sed 's/=/=3D/g; s/ $/=20/; s/\t$/=09/;'; } <<-EOF
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
@@ -95,7 +95,7 @@ message="$(cat <<-EOF
$(git diff --stat=69 --color=never --find-renames=50% \
"${old_tag}..HEAD" | sed 's/^/ /')
- --=20
+ --
${SIG}
EOF
)"