Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-08-18 15:51:14 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-08-18 15:51:14 (GMT)
commit4edf6b2863bc8d3b42400ea379342614399726f0 (patch)
tree4a8d9f85ccf40c53131b5ba1e49e81eea1873f8e
parent4a05b3efd6ae8996d80bd1e32596dbd30437350d (diff)
save announcement in announcefile
-rwxr-xr-xannounce5
1 files changed, 4 insertions, 1 deletions
diff --git a/announce b/announce
index a0123e5..531c16b 100755
--- a/announce
+++ b/announce
@@ -6,6 +6,7 @@ recipients=martin@martindengler.com
builddir=$1
buildnamefile=$2
buildname=$(<$buildnamefile)
+announcefile=$builddir/$buildname.announcement.txt
nandsize=$(<$builddir/$buildname.img.size.txt)
nandsizechange=$(<$builddir/$buildname.img.size-change.txt)
@@ -13,7 +14,7 @@ nandsizechange=$(<$builddir/$buildname.img.size-change.txt)
treesize=$(<$builddir/$buildname.tree.size.txt)
treesizechange=$(<$builddir/$buildname.tree.size-change.txt)
-mail -s "New SoaS-on-XO-1 build done: $buildname" $recipients <<EOF
+cat > $announcefile <<EOF
A new SoaS-on-XO-1 build $buildname is available.
@@ -60,3 +61,5 @@ https://bugzilla.redhat.com/show_bug.cgi?id=461806
EOF
+mail -s "New SoaS-on-XO-1 build done: $buildname" $recipients < $announcefile
+