Unverified Commit ea3cc748 authored by Diego Mello's avatar Diego Mello Committed by GitHub
Browse files

Check $FABRIC_KEY availability in CircleCI for iOS (#507)

parent cda67427
......@@ -218,7 +218,10 @@ jobs:
cd ios
agvtool new-version -all $CIRCLE_BUILD_NUM
/usr/libexec/PlistBuddy -c "Set Fabric:APIKey $FABRIC_KEY" ./RocketChatRN/Info.plist
echo -e "./Fabric.framework/run $FABRIC_KEY $FABRIC_SECRET" > ./RocketChatRN/Fabric.sh
if [[ $FABRIC_KEY ]]; then
echo -e > "./Fabric.framework/run $FABRIC_KEY $FABRIC_SECRET" > ./RocketChatRN/Fabric.sh
fi
if [[ $MATCH_KEYCHAIN_NAME ]]; then
fastlane ios release
......
./Fabric.framework/run ef3f46fdf18479fd3e1b9b78d0ec73751a255e14 e8e3d04c28bc04acd009484da5bb9d1440c4f53851564e9f95c3225ec8b0bc76
......@@ -38,7 +38,7 @@
<key>Fabric</key>
<dict>
<key>APIKey</key>
<string>YOUR_API_KEY</string>
<string>ef3f46fdf18479fd3e1b9b78d0ec73751a255e14</string>
<key>Kits</key>
<array>
<dict>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment