Fix release script and changelog format

This commit is contained in:
Victor Zverovich 2016-05-07 09:21:26 -07:00
parent add6bcca3e
commit b344bd9582
2 changed files with 4 additions and 2 deletions

View File

@ -68,7 +68,7 @@
Note that it would be an undefined behavior in ``std::printf``.
* Length modifiers such as `ll` are now optional in printf formatting
* Length modifiers such as ``ll`` are now optional in printf formatting
functions and the correct type is determined automatically
(`#255 <https://github.com/fmtlib/fmt/issues/255>`_):

View File

@ -137,7 +137,9 @@ if __name__ == '__main__':
try:
run = Runner()
fmt_dir = os.path.join(workdir, 'fmt')
branch = args.get('<branch>', 'master')
branch = args.get('<branch>')
if branch is None:
branch = 'master'
run('git', 'clone', '-b', branch, 'git@github.com:fmtlib/fmt.git', fmt_dir)
# Convert changelog from RST to GitHub-flavored Markdown and get the version.