From 2206739829518c9ea59dbdb9003e0147fdaf2d1c Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 27 Jan 2025 17:06:36 +0100 Subject: ci(install): adapt to new Neovim release artefact names Old name can be removed after 0.10.4 release --- scripts/ci-install.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/ci-install.sh b/scripts/ci-install.sh index 4677bb92e..7e99a8de4 100755 --- a/scripts/ci-install.sh +++ b/scripts/ci-install.sh @@ -3,7 +3,14 @@ set -e os=$(uname -s) -if [[ $os == Linux ]]; then +if [[ $os == Linux ]] && [[ ${NVIM_TAG} == nightly ]]; then + wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux-x86_64.tar.gz + tar -zxf nvim-linux-x86_64.tar.gz + sudo ln -s "$PWD"/nvim-linux-x86_64/bin/nvim /usr/local/bin + rm -rf "$PWD"/nvim-linux-x86_64/lib/nvim/parser + mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start + ln -s "$PWD" ~/.local/share/nvim/site/pack/nvim-treesitter/start +elif [[ $os == Linux ]]; then wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim-linux64.tar.gz tar -zxf nvim-linux64.tar.gz sudo ln -s "$PWD"/nvim-linux64/bin/nvim /usr/local/bin -- cgit v1.2.3-70-g09d2