diff --git a/updates/keila.sh b/updates/keila.sh index 1c01efc..c44d0a7 100644 --- a/updates/keila.sh +++ b/updates/keila.sh @@ -7,8 +7,6 @@ basedir=$HOME/var/keila release=`curl -Ls https://api.github.com/repos/pentacent/keila/releases/latest | jq -r '.tag_name'` oldrelease=`$HOME/bin/keila version | cut -d " " -f2-` tools=$basedir/.tool-versions -erlang_ver=$(grep "erlang" "$tools" | awk '{print $2}') -elixir_ver=$(grep "elixir" "$tools" | awk '{print $2}') echo "=== Old Keila is at [ $oldrelease ], latest release is [ $release ] ===" read -p "=> Reply yY to proceed..." -n 1 -r @@ -22,6 +20,9 @@ cd $basedir git fetch git checkout $release +erlang_ver=$(grep "erlang" "$tools" | awk '{print $2}') +elixir_ver=$(grep "elixir" "$tools" | awk '{print $2}') + . "$HOME/.asdf/asdf.sh" . "$HOME/.asdf/completions/asdf.bash"