Просмотр исходного кода

ci: update neovim release version

kylo252 1 год назад
Родитель
Сommit
542c7ba9fb

+ 2 - 2
.github/workflows/install.yaml

@@ -21,10 +21,10 @@ jobs:
         include:
           - runner: ubuntu-latest
             os: linux
-            neovim: v0.9.1
+            neovim: v0.9.5
           - runner: macos-latest
             os: osx
-            neovim: v0.9.1
+            neovim: v0.9.5
           - runner: ubuntu-22.04
             os: linux
             neovim: nightly

+ 8 - 3
utils/installer/install-neovim-from-release

@@ -15,9 +15,14 @@ if [ "$OS" == "Linux" ]; then
   ARCHIVE_NAME="nvim-linux64"
   RELEASE_NAME="nvim-linux64"
 elif [ "$OS" == "Darwin" ]; then
-  ARCHIVE_NAME="nvim-macos"
-  # for some reason the archive has a different name
-  RELEASE_NAME="nvim-osx64"
+  if [ "$RELEASE_VER" == "nightly" ]; then
+    ARCHIVE_NAME="nvim-macos-x86_64"
+    RELEASE_NAME="nvim-macos-x86_64"
+  else
+    ARCHIVE_NAME="nvim-macos"
+    # for some reason the archive has a different name
+    RELEASE_NAME="nvim-osx64"
+  fi
 else
   echo "$OS platform is not supported currently"
   exit 1

+ 1 - 1
utils/installer/uninstall.sh

@@ -51,7 +51,7 @@ function parse_arguments() {
 
 function remove_lvim_dirs() {
   if [ "$ARGS_REMOVE_CONFIG" -eq 1 ]; then
-    __lvim_dirs+=($__lvim_config_dir)
+    __lvim_dirs+=("$__lvim_config_dir")
   fi
   for dir in "${__lvim_dirs[@]}"; do
     rm -rf "$dir"