Skip to content

Commit

Permalink
Changed to get version published correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford committed Nov 15, 2022
1 parent a8d3a03 commit 3c5c4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 01-main/packages/neovim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DEFVER=1
get_github_releases "https://api.github.com/repos/neovim/neovim/releases/latest"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep "browser_download_url.*nvim-linux64\.deb[^.]" "${CACHE_DIR}/${APP}.json" | cut -d'"' -f4)
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | tr -d v)"
VERSION_PUBLISHED=$(wget -q https://github.com/neovim/neovim/releases/tag/stable -O- | grep -o -E 'NVIM v[[:digit:]]+.[[:digit:]]+.[[:digit:]]+'|head -1|tr -d 'NVIM v' )
fi
PRETTY_NAME="Neovim"
WEBSITE="https://neovim.io/"
Expand Down

0 comments on commit 3c5c4a0

Please sign in to comment.