mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 08:27:17 +01:00
parent
b88163392c
commit
9a3b9fcac2
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ EOF
|
|||
echo_latest_version() {
|
||||
# https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c#gistcomment-2758860
|
||||
version="$(curl -fsSLI -o /dev/null -w "%{url_effective}" https://github.com/cdr/code-server/releases/latest)"
|
||||
version="${version#https://github.com/cdr/code-server/releases/tag/v}"
|
||||
version="${version#https://github.com/cdr/code-server/releases/tag/}"
|
||||
version="${version#v}"
|
||||
echo "$version"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue