From b344bd9582ea1b94f887c8a8a161884a8abbe088 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 7 May 2016 09:21:26 -0700 Subject: [PATCH] Fix release script and changelog format --- ChangeLog.rst | 2 +- support/release.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 3cfbbb9b..82d5d370 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -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 `_): diff --git a/support/release.py b/support/release.py index 5a65226e..f6e30129 100755 --- a/support/release.py +++ b/support/release.py @@ -137,7 +137,9 @@ if __name__ == '__main__': try: run = Runner() fmt_dir = os.path.join(workdir, 'fmt') - branch = args.get('', 'master') + branch = args.get('') + 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.