1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00

Update updater.sh

This commit is contained in:
ewilly 2022-01-18 21:07:42 +01:00 committed by GitHub
parent 5476539f24
commit ecfda32aae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@
# Fetching information # Fetching information
app=$(cat manifest.json | jq -j '.id') app=$(cat manifest.json | jq -j '.id')
current_version=$(cat manifest.json | jq -j '.version|split("~")[0]') current_version=$(cat manifest.json | jq -j '.version|split("~")[0]')
upstream_version=$(curl -Ls https://pypi.org/pypi/$pythonPackage/json | jq -r .info.version) upstream_version=$(curl -Ls https://pypi.org/pypi/$app/json | jq -r .info.version)
# Setting up the environment variables # Setting up the environment variables
echo "Current version: $current_version" echo "Current version: $current_version"