mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 12:48:36 -06:00
Fixed logging bug
This commit is contained in:
parent
1b737a4918
commit
abc6eb989e
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ for artifact in $artifacts; do
|
||||||
repo=$(echo $artifact | cut -d '_' -f1)
|
repo=$(echo $artifact | cut -d '_' -f1)
|
||||||
name=$(echo $artifact | cut -d '_' -f2)
|
name=$(echo $artifact | cut -d '_' -f2)
|
||||||
basename=$(echo $name | cut -d '.' -f1)
|
basename=$(echo $name | cut -d '.' -f1)
|
||||||
echo "Checking $basename" | tee build.log
|
echo "Checking $basename" | tee -a build.log
|
||||||
version_present=$(jq -r ".\"$basename\"" versions.json)
|
version_present=$(jq -r ".\"$basename\"" versions.json)
|
||||||
data=$(jq -r ".tools[] | select((.repository == \"$repo\") and (.content_type | contains(\"archive\")))" latest_versions.json)
|
data=$(jq -r ".tools[] | select((.repository == \"$repo\") and (.content_type | contains(\"archive\")))" latest_versions.json)
|
||||||
version=$(echo "$data" | jq -r '.version')
|
version=$(echo "$data" | jq -r '.version')
|
||||||
|
|
Loading…
Reference in a new issue