Skip to content

Commit c25dfa8

Browse files
Claudeclaude
andcommitted
ci(ios): fix heredoc indentation in ExportOptions.plist generation
Use <<- heredoc operator to strip leading tabs and fix whitespace that was producing an invalid plist XML. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 51cc787 commit c25dfa8

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

.github/workflows/ios-release.yml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -111,34 +111,35 @@ jobs:
111111
- name: Export IPA
112112
run: |
113113
EXPORT_PLIST="$RUNNER_TEMP/ExportOptions.plist"
114-
cat > "$EXPORT_PLIST" <<PLIST
114+
cat > "$EXPORT_PLIST" <<-PLIST
115115
<?xml version="1.0" encoding="UTF-8"?>
116-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
117-
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
116+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
118117
<plist version="1.0">
119118
<dict>
120-
<key>method</key>
121-
<string>app-store-connect</string>
122-
<key>teamID</key>
123-
<string>ZJ9GEQ36AH</string>
124-
<key>signingStyle</key>
125-
<string>manual</string>
126-
<key>signingCertificate</key>
127-
<string>Apple Distribution</string>
128-
<key>provisioningProfiles</key>
129-
<dict>
130-
<key>com.codebutler.farebot</key>
131-
<string>$PROVISIONING_PROFILE_UUID</string>
132-
</dict>
133-
<key>uploadSymbols</key>
134-
<true/>
135-
<key>destination</key>
136-
<string>upload</string>
119+
<key>method</key>
120+
<string>app-store-connect</string>
121+
<key>teamID</key>
122+
<string>ZJ9GEQ36AH</string>
123+
<key>signingStyle</key>
124+
<string>manual</string>
125+
<key>signingCertificate</key>
126+
<string>Apple Distribution</string>
127+
<key>provisioningProfiles</key>
128+
<dict>
129+
<key>com.codebutler.farebot</key>
130+
<string>$PROVISIONING_PROFILE_UUID</string>
131+
</dict>
132+
<key>uploadSymbols</key>
133+
<true/>
134+
<key>destination</key>
135+
<string>upload</string>
137136
</dict>
138137
</plist>
139138
PLIST
140139
140+
echo "--- ExportOptions.plist ---"
141141
cat "$EXPORT_PLIST"
142+
echo "---"
142143
143144
xcodebuild -exportArchive \
144145
-archivePath "$RUNNER_TEMP/FareBot.xcarchive" \

0 commit comments

Comments
 (0)