native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix install-release heredoc syntax error in Makefile

Replace heredoc with printf for ExportOptions.plist generation to avoid
conflict between make line continuations and shell heredoc syntax.

onevcat 9434afae 1b0eb02b

+15 -16
+15 -16
Makefile
··· 76 76 echo "team: $$TEAM_ID"; \ 77 77 APPLE_TEAM_ID="$$TEAM_ID" DEVELOPER_ID_IDENTITY_SHA="$$IDENTITY_SHA" $(MAKE) archive; \ 78 78 mkdir -p build; \ 79 - cat > build/ExportOptions.plist <<-PLIST 80 - <?xml version="1.0" encoding="UTF-8"?> 81 - <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 82 - <plist version="1.0"> 83 - <dict> 84 - <key>method</key> 85 - <string>developer-id</string> 86 - <key>signingStyle</key> 87 - <string>manual</string> 88 - <key>signingCertificate</key> 89 - <string>$$SIGNING_IDENTITY</string> 90 - <key>teamID</key> 91 - <string>$$TEAM_ID</string> 92 - </dict> 93 - </plist> 94 - PLIST 79 + printf '%s\n' \ 80 + '<?xml version="1.0" encoding="UTF-8"?>' \ 81 + '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">' \ 82 + '<plist version="1.0">' \ 83 + '<dict>' \ 84 + ' <key>method</key>' \ 85 + ' <string>developer-id</string>' \ 86 + ' <key>signingStyle</key>' \ 87 + ' <string>manual</string>' \ 88 + ' <key>signingCertificate</key>' \ 89 + " <string>$$SIGNING_IDENTITY</string>" \ 90 + ' <key>teamID</key>' \ 91 + " <string>$$TEAM_ID</string>" \ 92 + '</dict>' \ 93 + '</plist>' > build/ExportOptions.plist; \ 95 94 $(MAKE) export-archive; \ 96 95 APP_PATH="$$(find build/export -name '*.app' -maxdepth 3 -print -quit)"; \ 97 96 if [ ! -d "$$APP_PATH" ]; then \