1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

[mod] Upgrade upstream to v1.7.21 with DUBPv12

- Get back to artifacts generated by GitLab CD
This commit is contained in:
Moul 2020-03-29 12:43:14 +02:00
parent e4ccfa7dec
commit ee35597ed6

View file

@ -1,15 +1,16 @@
#/bin/bash #/bin/bash
INSTALL_DUNITER_DEBIAN_PACKAGE () { INSTALL_DUNITER_DEBIAN_PACKAGE () {
version="v1.7.18" version="v1.7.21"
url_base="https://git.duniter.org/nodes/typescript/duniter/"
if [ $arch == "x64" ]; then if [ $arch == "x64" ]; then
url_base="https://git.duniter.org/nodes/typescript/duniter/-/jobs/21913/artifacts/raw/work/bin/" mid_url="-/jobs/34995/artifacts/raw/work/bin/"
else else
url_base="https://jytou.fr/duniter/" mid_url="uploads/23e768a0c5afc515ae59b4bf536ceecb/"
fi fi
deb="duniter-server-$version-linux-$arch.deb" deb="duniter-server-$version-linux-$arch.deb"
url="${url_base}${deb}" url="${url_base}${mid_url}${deb}"
# Retrieve debian package and install it # Retrieve debian package and install it
wget -nc --quiet $url -P /tmp wget -nc --quiet $url -P /tmp