From f51a729750156c76faaff331fb716a5cb7f19352 Mon Sep 17 00:00:00 2001 From: Aaron Trudeau <36064197+trudeaua21@users.noreply.github.com> Date: Thu, 27 Jan 2022 01:36:35 -0500 Subject: [PATCH] try using different arg syntax for jq --- dist/steps/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/steps/run_tests.sh b/dist/steps/run_tests.sh index 55cd22e..c0e8ff2 100755 --- a/dist/steps/run_tests.sh +++ b/dist/steps/run_tests.sh @@ -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"