feat(CI): auto-update README.md

This commit is contained in:
Stephan Seitz 2020-08-30 14:29:10 +02:00 committed by Thomas Vigouroux
parent ac13baadb6
commit ffe7d96dfd
3 changed files with 17 additions and 10 deletions

View file

@ -37,8 +37,5 @@ if string.find(readme_text, generated_text, 1, 'plain') then
else
print("New README.md was written. Please commit that change! Old text was: ")
print(string.sub(readme_text, string.find(readme_text, "<!%-%-parserinfo%-%->.*<!%-%-parserinfo%-%->")))
print("\n")
print('If you see this on CI, please run `nvim --headless -c "luafile ./scripts/update-readme.lua"` '
..'locally and commit the changes!')
vim.cmd('cq')
end