1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zwave-js-ui_ynh.git synced 2024-09-03 18:06:00 +02:00

Installing tomlq

This commit is contained in:
Krakinou 2023-03-11 10:04:27 +01:00
parent 37b4910901
commit 150ec279e1

View file

@ -4,6 +4,11 @@
# FETCHING LATEST RELEASE AND ITS ASSETS # FETCHING LATEST RELEASE AND ITS ASSETS
#================================================= #=================================================
#Installing tomlq
python3 -m venv venv
source venv/bin/activate
pip3 install tomlq
# Fetching information # Fetching information
current_version=$(cat manifest.toml | tomlq -j '.version|split("~")[0]') current_version=$(cat manifest.toml | tomlq -j '.version|split("~")[0]')
repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")[1]') repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")[1]')