[rtems-release commit] cron: Fix announce message, add env setting for live.
Chris Johns
chrisj at rtems.org
Fri Nov 1 02:23:08 UTC 2019
Module: rtems-release
Branch: master
Commit: 3f22a4216d93213e4b1658c3f972ce8e5802974f
Changeset: http://git.rtems.org/rtems-release/commit/?id=3f22a4216d93213e4b1658c3f972ce8e5802974f
Author: Chris Johns <chrisj at rtems.org>
Date: Fri Nov 1 13:22:47 2019 +1100
cron: Fix announce message, add env setting for live.
---
rtems-release-cron | 4 ++++
snapshot-announce.txt.in | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
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 at rtems.org or devel at rtems.org
mailing lists or please raise a ticket.
More information about the vc
mailing list