Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gbammc committed Jun 2, 2016
1 parent 057433d commit 3639ba3
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 20 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ DerivedData
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
Pods/
Podfile.lock

22 changes: 18 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
language: objective-c

before_install:
- gem install cocoapods -v '0.39.0'

rvm:
- 2.2
xcode_workspace: Thor.xcworkspace
xcode_scheme: Thor
before_install:
- gem install cocoapods -v '0.39.0'
script:
- ./build.sh
before_deploy:
- git fetch --tags
deploy:
provider: releases
api_key:
secure: MFSmLIndNlnimU6/KG8Q0JfFttFGi5MvJG6N6OXSeEEaGyA3BwrGuQVePXrX6wyA8um2v1c9SuOkXn0rvTAyo6+0oRxDZt1ybvMDxQLIB6crydjwfaaJYi7JgNUFU/9Uyoj4gQ8AELt8UAQUN8n/cAeDqTY87cb7nzF6+XO2p0LfOzWpR1XFZjEaJQql7Mi92OBUl5iaoGOaHa1hN64/+xnk9APxv6BqXoXoseLGN8H9pAG0sxI720eao0NsSVMg8DB4NcGnyjYUDk/aGeNfipQr7XvaXw7lc4O3i91dTX4Z620NGwjP66JgF60xS8CHR2zSVg4fbg5fPwcHigSwSIS6GKTC9sC7TtNUM65QWH4Nfh/t9YxaHmKdUZDRstWhe0jmea7oRKuMQlCgA7NxQETXEMYQzMXuF+a9eshYpOxsVpRA9WN3YG1uaRfZ5LWkEl+9OdMeD7Jn/djhU/5AZQE60A99fltIV7ktOP9IgTbY/nI+JYDFve9ijv94ypCzv1Ov2lK3eSUym+NROhHEbo53GITyeUpaJ5WccYuoDecxeJktRcOsk0B/5txOyLKVGMCYXXC/dTv5HWtMDEru+hyIuAqH+t4kOuVTE0aLotcNN2Hli0xPlv6pQaL7EERRfMy4XN3SZoMR9SbZyNh0Ds9awe9OKpw6WbM0ruUwsQs=
file: Thor
clean_up: false
skip_cleanup: true
on:
repo: gbammc/Thor
tags: true
16 changes: 0 additions & 16 deletions Podfile.lock

This file was deleted.

Binary file added Releases/Thor_1.0.1.zip
Binary file not shown.
Binary file added Thor.zip
Binary file not shown.
15 changes: 15 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

APP_NAME="Thor"

xcodebuild -workspace "$APP_NAME.xcworkspace" -scheme "$APP_NAME" -archivePath "$APP_NAME" archive

xcodebuild -exportArchive -exportFormat APP -archivePath "$APP_NAME".xcarchive -exportPath "$APP_NAME"

VERSION=`mdls -name kMDItemVersion "$APP_NAME".app | grep -o '\d\.\d\.\d'`

zip -r Releases/"$APP_NAME"_"$VERSION".zip "$APP_NAME".app

cp -f Releases/"$APP_NAME"_"$VERSION".zip "$APP_NAME".zip

rm -rf "$APP_NAME".app "$APP_NAME".xcarchive

0 comments on commit 3639ba3

Please sign in to comment.