summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2019-11-01 13:22:47 +1100
committerChris Johns <chrisj@rtems.org>2019-11-01 13:22:47 +1100
commit3f22a4216d93213e4b1658c3f972ce8e5802974f (patch)
tree1f3789b31a41b9bfba7796bd36611629f3c424c0
parentmailer: Import socket for errors. (diff)
downloadrtems-release-3f22a4216d93213e4b1658c3f972ce8e5802974f.tar.bz2
cron: Fix announce message, add env setting for live.
-rwxr-xr-xrtems-release-cron4
-rw-r--r--snapshot-announce.txt.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/rtems-release-cron b/rtems-release-cron
index d3bb06e..6dcc80b 100755
--- a/rtems-release-cron
+++ b/rtems-release-cron
@@ -34,6 +34,9 @@ set -e
#
live=yes
+if [ "${RTEMS_RELEASE_TESTING}" = "yes" ]; then
+ live=no
+fi
#
# RTEMS release
@@ -156,6 +159,7 @@ if [ ! -f ${LOCK} ]; then
cp -r ${release} ${destdir}/
cat ${announce}.in | \
sed -e "s/@VERSION@/${version}/g" \
+ -e "s/@REVISION@/${revision}/g" \
-e "s/@SNAPSHOT@/${snapshot}/g" \
-e "s/@RTEMS_SNAPSHOT@/${rtems_snapshot}/g" \
-e "s/@RELEASE@/${release}/g" > ${announce}
diff --git a/snapshot-announce.txt.in b/snapshot-announce.txt.in
index 14f3fd2..cf3bdf4 100644
--- a/snapshot-announce.txt.in
+++ b/snapshot-announce.txt.in
@@ -3,7 +3,7 @@ RTEMS Release Build - @RELEASE@
RTEMS @VERSION@ Release snapshot @RTEMS_SNAPSHOT@ is avaliable for testing.
It can be found at:
- https://ftp.rtems.org/pub/rtems/releases/@VERSION@/@VERSION@.@REVISION@/@RELEASE@
+ https://ftp.rtems.org/pub/rtems/releases/@VERSION@/@VERSION@.@SNAPSHOT@/@RELEASE@
Please test and report any issues to the user@rtems.org or devel@rtems.org
mailing lists or please raise a ticket.