* tools/dist/release.py
(write_news): Pass IS_RECOMMENDED to the news template.
* tools/dist/templates/stable-news.ezt
Don't describe a minor line other than RECOMMENDED_RELEASE as the "most
complete" to date.
Found by: rhuijben
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1802393 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tools/dist/release.py b/tools/dist/release.py
index 81a9ce7..680f298 100755
--- a/tools/dist/release.py
+++ b/tools/dist/release.py
@@ -771,6 +771,7 @@
'version' : str(args.version),
'version_base' : args.version.base,
'anchor': args.version.get_download_anchor(),
+ 'is_recommended': ezt_bool(args.version.is_recommended()),
}
if args.version.is_prerelease():
diff --git a/tools/dist/templates/stable-news.ezt b/tools/dist/templates/stable-news.ezt
index 8fa56d7..2960540 100644
--- a/tools/dist/templates/stable-news.ezt
+++ b/tools/dist/templates/stable-news.ezt
@@ -5,8 +5,14 @@
</h3>
<p>We are pleased to announce the release of Apache Subversion [version].
+[if-any is_recommended]
This is the most complete Subversion release to date, and we encourage
- users of Subversion to upgrade as soon as reasonable. Please see the
+ users of Subversion to upgrade as soon as reasonable.
+[else]
+ This is the most complete release of the [major-minor].x line to date,
+ and we encourage all users to upgrade as soon as reasonable.
+[end]
+ Please see the
<a href=""
>release announcement</a> and the
<a href="http://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES"