mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
change links and src pkg for garradin named paheko
This commit is contained in:
parent
604c055deb
commit
9318cd61e4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/updater.sh
vendored
4
.github/workflows/updater.sh
vendored
|
@ -16,8 +16,8 @@
|
||||||
# Fetching information
|
# Fetching information
|
||||||
current_version=$(cat manifest.json | jq -j '.version|split("~")[0]')
|
current_version=$(cat manifest.json | jq -j '.version|split("~")[0]')
|
||||||
# Some jq magic is needed, because the latest upstream release is not always the latest version (e.g. security patches for older versions)
|
# Some jq magic is needed, because the latest upstream release is not always the latest version (e.g. security patches for older versions)
|
||||||
file=$(curl --silent "https://fossil.kd2.org/garradin/juvlist" | jq -r '.[] | select( .name | contains("garradin") and contains(".tar.gz") ) | select( .name | contains(".deb") or contains(".asc") or contains("beta") or contains("alpha") | not ) | .name' | sort -V | tail -1)
|
file=$(curl --silent "https://fossil.kd2.org/paheko/juvlist" | jq -r '.[] | select( .name | contains("paheko") and contains(".tar.gz") ) | select( .name | contains(".deb") or contains(".asc") or contains("beta") or contains("alpha") | not ) | .name' | sort -V | tail -1)
|
||||||
assets="https://fossil.kd2.org/garradin/uv/$file"
|
assets="https://fossil.kd2.org/paheko/uv/$file"
|
||||||
|
|
||||||
version=$(echo ${file/.tar.gz} | cut -d "-" -f2)
|
version=$(echo ${file/.tar.gz} | cut -d "-" -f2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue