mirror of
https://github.com/YunoHost-Apps/xwiki_ynh.git
synced 2024-09-03 20:36:11 +02:00
Fix app version retrivement
This commit is contained in:
parent
77349f1ce1
commit
e325aa5d9e
1 changed files with 2 additions and 1 deletions
|
@ -20,10 +20,11 @@ EOL
|
|||
|
||||
check_app_version() {
|
||||
local app_remote_version=$(curl https://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/platform/xwiki-platform-distribution-jetty-hsqldb/maven-metadata.xml |
|
||||
xq --indent 0 -x '//metadata/versioning/versions' |
|
||||
xq -x '//metadata/versioning/versions' |
|
||||
sed -E 's|\s*(.*)\s*|\1|g' |
|
||||
grep -v '\-rc-' |
|
||||
grep -v '\-milestone-' |
|
||||
grep -v '^$' |
|
||||
python3 -c 'import sys
|
||||
from packaging.version import Version
|
||||
versions = sys.stdin.read().splitlines()
|
||||
|
|
Loading…
Add table
Reference in a new issue