You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/08/12 05:22:24 UTC
svn commit: r1156949 - in /subversion/trunk/tools/dist: release.py
templates/rc-news.ezt
Author: hwright
Date: Fri Aug 12 03:22:24 2011
New Revision: 1156949
URL: http://svn.apache.org/viewvc?rev=1156949&view=rev
Log:
Fix bug in the news template in the release scripts by linking to the
release notes correctly.
* tools/dist/release.py
(write_news): Add 'major-minor' to the data dict.
* tools/dist/templates/rc-news.ezt:
Fix bustified link.
Modified:
subversion/trunk/tools/dist/release.py
subversion/trunk/tools/dist/templates/rc-news.ezt
Modified: subversion/trunk/tools/dist/release.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1156949&r1=1156948&r2=1156949&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Fri Aug 12 03:22:24 2011
@@ -548,6 +548,7 @@ def write_news(args):
'Write text for the Subversion website.'
data = { 'date' : datetime.date.today().strftime('%Y%m%d'),
'date_pres' : datetime.date.today().strftime('%Y-%m-%d'),
+ 'major-minor' : args.version.base[:3],
'version' : str(args.version),
'version_base' : args.version.base,
}
Modified: subversion/trunk/tools/dist/templates/rc-news.ezt
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/templates/rc-news.ezt?rev=1156949&r1=1156948&r2=1156949&view=diff
==============================================================================
--- subversion/trunk/tools/dist/templates/rc-news.ezt (original)
+++ subversion/trunk/tools/dist/templates/rc-news.ezt Fri Aug 12 03:22:24 2011
@@ -10,7 +10,7 @@
Please see the
<a href="">release
announcement</a> for more information about this release, and the
- <a href="/docs/release-notes/[version_base].html">release notes</a> and
+ <a href="/docs/release-notes/[major-minor].html">release notes</a> and
<a href="http://svn.apache.org/repos/asf/subversion/tags/[version]/CHANGES">
change log</a> for information about what will eventually be
in the [version_base] release.</p>