Fix jq
entry on Step 13 of Codemagic CLI procedure on 'Build and release a macOS app'
#7523
Labels
dev.deployment
Relates to deploying Flutter app section of Flutter.dev
e0-minutes
Effort: < 60 min
p2-medium
Necessary but not urgent concern. Resolve when possible.
target.macOS
Target apps on the macOS platform
Page URL
https://docs.flutter.dev/deployment/macos/
Page source
https://github.com/flutter/website/tree/main/src/deployment/macos.md
Describe the problem
In Create a build archive with Codemagic CLI tools Point 13. Package the App the following code snipped is mentioned. My keychain for some reason contained multiple certs with the common name containing "Mac Developer Installer" so it found multiple common names which it simply concatenated into the variable INSTALLER_CERT_NAME
Expected fix
Changing it to jq '[.[]...][0] will only retrun the first common name of the cert which contains "Mac Developer Installer" in its common name.
Additional context
No response
The text was updated successfully, but these errors were encountered: