Skip to content

Commit

Permalink
Fixing decryption of secrets by ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdsupremacist committed Mar 8, 2017
1 parent a8f43bd commit a5d5219
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Pods/
Carthage/Build
PrivatConstants.swift
PrivateConstants.swift
secrets.tar
BreakOutBeta.mobileprovision
Screencasts
*.pages
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ notifications:

before_install:
- pod repo update > /dev/null
- openssl aes-256-cbc -K $encrypted_7cb16b9c01f6_key -iv $encrypted_7cb16b9c01f6_iv -in PrivateConstants.swift.enc -out BreakOut/PrivateConstants.swift -d
- openssl aes-256-cbc -K $encrypted_7cb16b9c01f6_key -iv $encrypted_7cb16b9c01f6_iv -in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar

script:
- xcodebuild test -workspace BreakOut.xcworkspace -scheme BreakOutTests -destination 'platform=iOS Simulator,id=22FA2149-1241-469C-BF6D-462D3837DB72,OS=10.2' CODE_SIGNING_REQUIRED=NO | xcpretty -s && exit ${PIPESTATUS[0]}
Expand Down
Binary file removed BreakOutBeta.mobileprovision.enc
Binary file not shown.
Binary file removed PrivateConstants.swift.enc
Binary file not shown.
4 changes: 0 additions & 4 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ if [ ! -z "$TRAVIS_TAG" ]; then

echo "This will be released to Fabric"

# Decode Provisioning Profile

openssl aes-256-cbc -K $encrypted_7cb16b9c01f6_key -iv $encrypted_7cb16b9c01f6_iv -in BreakOutBeta.mobileprovision.enc -out BreakOutBeta.mobileprovision -d

# Add provisioning profile to xcode

uuid=`grep UUID -A1 -a BreakOutBeta.mobileprovision | grep -io "[-A-Z0-9]\{36\}"`
Expand Down
Binary file added secrets.tar.enc
Binary file not shown.

0 comments on commit a5d5219

Please sign in to comment.