try using different arg syntax for jq

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

View File

@ -61,7 +61,7 @@ if [ "$PACKAGE_MODE" = "true" ]; then
jq \
--arg packageName "$PACKAGE_NAME" \
--arg projectPath "$UNITY_PROJECT_PATH" \
'.dependencies += {"$packageName": "file:$projectPath"} | . += {"testables": ["$packageName"]}' \
'.dependencies += {"$ARGS.packageName": "file:$ARGS.projectPath"} | . += {"testables": ["$ARGS.packageName"]}' \
> "$PACKAGE_MANIFEST_PATH"
cat "$PACKAGE_MANIFEST_PATH"