Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iosdeveloper committed Mar 29, 2016
1 parent 2c9ef05 commit e582c88
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ script: if [ -n "$TRAVIS_TAG" ]; then xctool -project $TRAVIS_XCODE_PROJECT
before_deploy:
- OUTPUTDIR="$PWD/build/Release"
- cd $OUTPUTDIR
- CERT_P12=Certificate.p12
- echo "$CERT_BASE64" | base64 --decode > $CERT_P12
- KEYCHAIN=build.keychain
- security create-keychain -p travis $KEYCHAIN
- security default-keychain -s $KEYCHAIN
- security unlock-keychain -p travis $KEYCHAIN
- security import $CERT_P12 -k $KEYCHAIN -P "$CERT_PW" -T /usr/bin/codesign
- IDENTITY="Developer ID Application: Code and That Ltd (B3T8QSC4HG)"
- codesign --deep --force --verbose --sign "$IDENTITY" BitBar.app
- codesign --deep --force --verbose --sign "$IDENTITY" BitBarDistro.app
- security delete-keychain $KEYCHAIN
- zip -r "BitBar-$TRAVIS_TAG.zip" "BitBar.app"
- zip -r "BitBarDistro-$TRAVIS_TAG.zip" "BitBarDistro.app"
deploy:
Expand Down

0 comments on commit e582c88

Please sign in to comment.