mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix release script and changelog format
This commit is contained in:
parent
add6bcca3e
commit
b344bd9582
@ -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__':
|
|||||||
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user