Skip to content

Commit

Permalink
Updated deploy script for upload path
Browse files Browse the repository at this point in the history
  • Loading branch information
megastep committed Sep 14, 2018
1 parent 69132bd commit c1651f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/travis.sh
Expand Up @@ -18,14 +18,14 @@ if test "$TRAVIS_TAG" != "" || test "$TRAVIS_BRANCH" = "staging"; then
if test "$TRAVIS_TAG" != ""; then
echo "Deploying for release tagged $TRAVIS_TAG ..."
else
echo "Deploying staging release build for v$VERSION..."
echo "Deploying staging release build for v${VERSION}-beta ..."
fi
./build_packages.sh || exit 1
echo "Uploading CocoaPods archive to S3 ..."
if test "$TRAVIS_TAG" != ""; then
s3cmd --access_key=$AWS_ACCESS_KEY --secret_key=$AWS_SECRET put packages/AudioKit.framework.zip s3://files.audiokit.io/releases/${TRAVIS_TAG}/AudioKit.framework.zip
else
s3cmd --access_key=$AWS_ACCESS_KEY --secret_key=$AWS_SECRET put packages/AudioKit.framework.zip s3://files.audiokit.io/staging/v${VERSION}/AudioKit.framework.zip
s3cmd --access_key=$AWS_ACCESS_KEY --secret_key=$AWS_SECRET put packages/AudioKit.framework.zip s3://files.audiokit.io/staging/v${VERSION}-beta/AudioKit.framework.zip
fi
exit
else
Expand Down

0 comments on commit c1651f6

Please sign in to comment.