From 619f64a0a67ee6c396cdf7b55b9c144d47ccb363 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 20:13:06 -0400 Subject: scripts/announce-release.sh: Move message to var --- (limited to 'scripts') 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 - 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 + To: proteanos-dev@lists.proteanos.com + Subject: ${package_name} ${version} released + + ${message} + EOF -- cgit v0.9.1