[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
1 changed files with 5 additions and 4 deletions

View File

@ -1,15 +1,16 @@
#/bin/bash
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
url_base="https://git.duniter.org/nodes/typescript/duniter/-/jobs/21913/artifacts/raw/work/bin/"
mid_url="-/jobs/34995/artifacts/raw/work/bin/"
else
url_base="https://jytou.fr/duniter/"
mid_url="uploads/23e768a0c5afc515ae59b4bf536ceecb/"
fi
deb="duniter-server-$version-linux-$arch.deb"
url="${url_base}${deb}"
url="${url_base}${mid_url}${deb}"
# Retrieve debian package and install it
wget -nc --quiet $url -P /tmp