try renaming jq args

pull/164/head
Aaron Trudeau 2022-01-27 01:29:46 -05:00
parent bcf9542234
commit a023014ca6
No known key found for this signature in database
GPG Key ID: 29F89A9BDAAF7BDE
1 changed files with 4 additions and 2 deletions

View File

@ -58,8 +58,10 @@ if [ "$PACKAGE_MODE" = "true" ]; then
PACKAGE_MANIFEST_JSON=$(cat "$PACKAGE_MANIFEST_PATH")
echo "$PACKAGE_MANIFEST_JSON" | \
jq --arg package_name "$PACKAGE_NAME" --arg project_path "$UNITY_PROJECT_PATH" \
'.dependencies += {"$package_name": "file:$project_path"} | . += {"testables": ["$package_name"]}' \
jq \
--arg packageName "$PACKAGE_NAME" \
--arg projectPath "$UNITY_PROJECT_PATH" \
'.dependencies += {"$packageName": "file:$projectPath"} | . += {"testables": ["$packageName"]}' \
> "$PACKAGE_MANIFEST_PATH"
cat "$PACKAGE_MANIFEST_PATH"