diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen_api_vimdoc.py | 9 | ||||
-rwxr-xr-x | scripts/release.sh | 6 |
2 files changed, 9 insertions, 6 deletions
diff --git a/scripts/gen_api_vimdoc.py b/scripts/gen_api_vimdoc.py index 4e86f15b37..515964bfe8 100755 --- a/scripts/gen_api_vimdoc.py +++ b/scripts/gen_api_vimdoc.py @@ -158,9 +158,12 @@ def doc_wrap(text, prefix='', width=70, func=False): lines[-1] += part return '\n'.join(x.rstrip() for x in lines).rstrip() - return '\n'.join(textwrap.wrap(text.strip(), width=width, - initial_indent=prefix, - subsequent_indent=indent_space)) + tw = textwrap.TextWrapper(break_long_words = False, + break_on_hyphens = False, + width=width, + initial_indent=prefix, + subsequent_indent=indent_space) + return '\n'.join(tw.wrap(text.strip())) def parse_params(parent, width=62): diff --git a/scripts/release.sh b/scripts/release.sh index fb266ad154..a51a6666f5 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -93,7 +93,7 @@ Next steps: - Double-check NVIM_VERSION_* in CMakeLists.txt - Push the tag: git push --follow-tags - - Empty-merge (if this is a maintenance release): - git checkout upstream/master - git merge -s ours upstream/release-x.y + - Update the 'stable' tag: + git push --force upstream HEAD^:refs/tags/stable + git fetch --tags - Update website: index.html" |