subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1156949 - in /subversion/trunk/tools/dist: release.py templates/rc-news.ezt
Date Fri, 12 Aug 2011 03:22:24 GMT
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> 



Mime
View raw message