build(release.sh): set VIMRUNTIME when regenerating docs (#28765)

This commit is contained in:
zeertzjq 2024-05-16 07:21:19 +08:00 committed by GitHub
parent 7c13d1a4a8
commit 9ca81b0259
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ _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
VIMRUNTIME=./runtime build/bin/nvim -u NONE -l scripts/gen_vimdoc.lua
git add -u -- runtime/doc/
fi