Commit b344bd95 authored by Victor Zverovich's avatar Victor Zverovich

Fix release script and changelog format

parent add6bcca
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
Note that it would be an undefined behavior in ``std::printf``. 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 functions and the correct type is determined automatically
(`#255 <https://github.com/fmtlib/fmt/issues/255>`_): (`#255 <https://github.com/fmtlib/fmt/issues/255>`_):
......
...@@ -137,7 +137,9 @@ if __name__ == '__main__': ...@@ -137,7 +137,9 @@ if __name__ == '__main__':
try: try:
run = Runner() run = Runner()
fmt_dir = os.path.join(workdir, 'fmt') 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) 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. # Convert changelog from RST to GitHub-flavored Markdown and get the version.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment