summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 20:13:06 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-18 20:13:06 (EDT)
commit619f64a0a67ee6c396cdf7b55b9c144d47ccb363 (patch)
treedac26734d5fd392c87397afbd47943567350d148 /scripts
parentc5457f96a6ce04b8083aea2e5da5fdcc0e482838 (diff)
scripts/announce-release.sh: Move message to var
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/announce-release.sh21
1 files changed, 13 insertions, 8 deletions
diff --git a/scripts/announce-release.sh b/scripts/announce-release.sh
index e78a382..a05dfa3 100755
--- a/scripts/announce-release.sh
+++ b/scripts/announce-release.sh
@@ -30,14 +30,7 @@ old_tag="$(git tag | tail -n 1)"
export GIT_DIR="${srcdir}/.git"
-/usr/sbin/sendmail \
- -f patrick.mcdermott@libiquity.com \
- proteanos-dev@lists.proteanos.com <<-EOF
- Date: $(LC_ALL='POSIX' date '+%a, %d %b %Y %H:%M:%S %z')
- From: Patrick McDermott <patrick.mcdermott@libiquity.com>
- To: proteanos-dev@lists.proteanos.com
- Subject: ${package_name} ${version} released
-
+message="$(cat <<-EOF
About
=====
@@ -91,3 +84,15 @@ export GIT_DIR="${srcdir}/.git"
Putting customers in control of high-quality technologies
http://www.libiquity.com/
EOF
+ )"
+
+/usr/sbin/sendmail \
+ -f patrick.mcdermott@libiquity.com \
+ proteanos-dev@lists.proteanos.com <<-EOF
+ Date: $(LC_ALL='POSIX' date '+%a, %d %b %Y %H:%M:%S %z')
+ From: Patrick McDermott <patrick.mcdermott@libiquity.com>
+ To: proteanos-dev@lists.proteanos.com
+ Subject: ${package_name} ${version} released
+
+ ${message}
+ EOF