add string interpolation to key

pull/164/head
Aaron Trudeau 2022-01-27 02:14:38 -05:00
parent f8e2231c09
commit 592e9599d3
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 += {"\($packageName)": "file:\($projectPath)"} | . += {testables: ["\($packageName)"]}' \
> "$PACKAGE_MANIFEST_PATH"
cat "$PACKAGE_MANIFEST_PATH"