1647
This commit is contained in:
@@ -78,6 +78,7 @@ dispatch_task() {
|
||||
target_ver="$(jq -r '.target_version // ""' <<<"$json")"
|
||||
tv_full="$(jq -r '.target_version_full // ""' <<<"$json")"
|
||||
schema="$(jq -r '.schema_version // ""' <<<"$json")"
|
||||
is_run_by="$(jq -r '.is_run_by // ""' <<<"$json")"
|
||||
|
||||
# Backfill target_version from target_version_full if missing (e.g., fox200-2.2.1-r6801.bin → 2.2.1-r6801)
|
||||
if [[ -z "$target_ver" && -n "$tv_full" ]]; then
|
||||
@@ -96,6 +97,7 @@ dispatch_task() {
|
||||
task_options+=" -e target_version='$(esc "$target_ver")'"
|
||||
task_options+=" -e target_version_full='$(esc "$tv_full")'"
|
||||
task_options+=" -e schema_version='$(esc "$schema")'"
|
||||
task_options+=" -e is_run_by='$(esc "$is_run_by")'"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user