From 3f22a4216d93213e4b1658c3f972ce8e5802974f Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 1 Nov 2019 13:22:47 +1100 Subject: 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@rtems.org or devel@rtems.org mailing lists or please raise a ticket. -- cgit v1.2.3