1
0
Fork 0

Update for tarball change

This commit is contained in:
Luca Beltrame 2020-12-08 00:43:15 +01:00
parent 9b5b38ab0a
commit 120699368b
Signed by: einar
GPG key ID: 4707F46E9EC72DEC

View file

@ -76,11 +76,11 @@ then
echo "${changelog}"
asset_name=$(echo "${github_data}" | /usr/bin/jq -r '.assets[] |
select(.browser_download_url|endswith("tar.gz")) |
select(.name|startswith("riot")).browser_download_url')
select(.name|startswith("element")).browser_download_url')
gpg_key_name=$(
echo "${github_data}" | /usr/bin/jq -r '.assets[] |
select(.browser_download_url|endswith("asc")) |
select(.name|startswith("riot")).browser_download_url')
select(.name|startswith("element")).browser_download_url')
echo "Updating Element.im from ${current_version} to ${remote_version}..."
update "${asset_name}" "${gpg_key_name}" "${tmpdir}" "${DESTINATION_PATH}"
else