Skip to content

Commit d54b014

Browse files
committed
Fix the fabric script
1 parent 3bbd5bb commit d54b014

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ Carthage/
3838
## Production
3939
icook-tv-top-shelf-image.png
4040
keys/
41-
fabric.*

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bootstrap:
88
bundle exec pod keys set TreasureDataAPIKey "-"
99
bundle exec pod install
1010
# sh scripts/fabric.sh
11-
echo "fabric.apikey" > keys/fabric.apike
11+
echo "fabric.apikey" > keys/fabric.apikey
1212
echo "fabric.buildsecret" > keys/fabric.buildsecret
1313

1414
coverage:

scripts/fabric.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
if [ "$CONFIGURATION" = "Release" ] && [ "$CI" != true ]; then
4+
FABRIC_APIKEY=$(cat ${SRCROOT}/keys/fabric.apikey)
5+
FABRIC_BUILDSECRET=$(cat ${SRCROOT}/keys/fabric.buildsecret)
6+
${PODS_ROOT}/Fabric/run ${FABRIC_APIKEY} ${FABRIC_BUILDSECRET}
7+
else
8+
echo "Skip Fabric script"
9+
fi

0 commit comments

Comments
 (0)