Skip to content

Commit

Permalink
use correct source file for generating NEWS
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Sep 22, 2012
1 parent d1137e1 commit 498375d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions master/MANIFEST.in
Expand Up @@ -18,6 +18,7 @@ include docs/manual/_images/icon.blend
include docs/manual/_images/Makefile
include docs/bbdocs/*
include docs/developer/*
include docs/relnotes/*

include buildbot/scripts/sample.cfg
include buildbot/scripts/buildbot_tac.tmpl
Expand Down
2 changes: 1 addition & 1 deletion master/setup.py
Expand Up @@ -67,7 +67,7 @@ def make_release_tree(self, base_dir, files):

# ensure that NEWS has a copy of the latest release notes, with the
# proper version substituted
src_fn = os.path.join('docs', 'release-notes.rst')
src_fn = os.path.join('docs', 'relnotes/index.rst')
src = open(src_fn).read()
src = src.replace('|version|', version)
dst_fn = os.path.join(base_dir, 'NEWS')
Expand Down
2 changes: 1 addition & 1 deletion slave/setup.py
Expand Up @@ -59,7 +59,7 @@ def make_release_tree(self, base_dir, files):

# ensure that NEWS has a copy of the latest release notes, copied from
# the master tree, with the proper version substituted
src_fn = os.path.join('..', 'master', 'docs', 'release-notes.rst')
src_fn = os.path.join('..', 'master', 'docs', 'relnotes/index.rst')
src = open(src_fn).read()
src = src.replace('|version|', version)
dst_fn = os.path.join(base_dir, 'NEWS')
Expand Down

0 comments on commit 498375d

Please sign in to comment.