Bugfix: Mehrstellige Versionsnummern wurden nicht erkannt
This commit is contained in:
parent
a91ff40880
commit
e44f255477
@ -67,7 +67,7 @@ showHelp() {
|
||||
}
|
||||
|
||||
getVersionLatest() {
|
||||
VERSION_LATEST="$( wget -qO - https://github.com/logseq/logseq/releases/latest | grep -Poi "releases/tag/\K\d\.\d\.\d" | head -n 1 )"
|
||||
VERSION_LATEST="$( wget -qO - https://github.com/logseq/logseq/releases/latest | grep -Poi "releases/tag/\K\d+\.\d+\.\d+" | head -n 1 )"
|
||||
[ -n "$VERSION_LATEST" ] || err "Konnte nicht ermittelt werden"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user