Skip to content
Permalink
Browse files

Set version correctly (due to change above)

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
Kwpolska committed Jun 23, 2015
1 parent 2d4b05a commit b93323bc94e8cc62d131190f6d306bf4d573e84c
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/set_version.py
@@ -36,7 +36,7 @@ def sed_like_thing(pattern, repl, path):
sed_like_thing("release = .*", "release = '{0}'".format(version), os.path.join('docs', 'sphinx', 'conf.py'))
sed_like_thing('__version__ = ".*"', '__version__ = "{0}"'.format(version), os.path.join('nikola', '__init__.py'))
sed_like_thing('New in master', 'New in v{0}'.format(version), 'CHANGES.txt')
sed_like_thing('Nikola v.*', 'Nikola v{0}'.format(version), os.path.join('docs', 'man', 'nikola.rst'))
sed_like_thing(':Version: .*', ':Version: Nikola v{0}'.format(version), os.path.join('docs', 'man', 'nikola.rst'))
man = subprocess.check_output(["rst2man", os.path.join('docs', 'man', 'nikola.rst')])
with io.open(os.path.join('docs', 'man', 'nikola.1'), 'w', encoding='utf-8') as fh:
try:

0 comments on commit b93323b

Please sign in to comment.
You can’t perform that action at this time.