workflow update
This commit is contained in:
parent
d2c12651b8
commit
a7ecbf81f1
@ -65,7 +65,7 @@ jobs:
|
||||
version_data=$(echo "$version" | jq -r '.version // empty')
|
||||
version_date=$(echo "$version" | jq -r '.date // empty')
|
||||
if [ -n "$version_data" ]; then
|
||||
jq --arg name "$name" --arg version "$version_data" --arf date "$version_date" \
|
||||
jq --arg name "$name" --arg version "$version_data" --arg date "$version_date" \
|
||||
'. += [{"name": $name, "version": $version, "date": $version_date}]' "$output_file" > "$output_file.tmp" && mv "$output_file.tmp" "$output_file"
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user