mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
build(release.sh): regenerate docs after changing NVIM_API_PRERELEASE (#28229)
After #25574, the value of NVIM_API_PRERELEASE can affect docs, so docs need to be regenerated after changing NVIM_API_PRERELEASE.
This commit is contained in:
@ -61,6 +61,8 @@ _do_release_commit() {
|
||||
$__sed -i.bk 's/(NVIM_API_PRERELEASE) true/\1 false/' CMakeLists.txt
|
||||
build/bin/nvim --api-info > "test/functional/fixtures/api_level_$__API_LEVEL.mpack"
|
||||
git add "test/functional/fixtures/api_level_${__API_LEVEL}.mpack"
|
||||
build/bin/nvim -u NONE -l scripts/gen_vimdoc.lua
|
||||
git add -u -- runtime/doc/
|
||||
fi
|
||||
|
||||
$__sed -i.bk 's,(<releases>),\1\
|
||||
|
Reference in New Issue
Block a user