Permalink
Browse files

Use .b1 instead of -beta for staging releases

  • Loading branch information...
megastep committed Sep 14, 2018
1 parent c1651f6 commit f54fbbe3f4f4b622fe62fe0d284e90b9d705f266
Showing with 5 additions and 5 deletions.
  1. +1 −1 Frameworks/build_frameworks.sh
  2. +1 −1 Frameworks/build_packages.sh
  3. +2 −2 Tests/travis.sh
  4. +1 −1 push-pod.sh
@@ -24,7 +24,7 @@ then
if test "$TRAVIS_BRANCH" = "$STAGING_BRANCH"; then # Staging build
ACTIVE_ARCH=NO
XCSUFFIX=""
VERSION="${VERSION}-beta"
VERSION="${VERSION}.b1"
elif test "$TRAVIS_TAG" != ""; then # Release build
ACTIVE_ARCH=NO
XCSUFFIX=""
@@ -12,7 +12,7 @@ VERSION=$(cat ../VERSION)
if test "$TRAVIS_BRANCH" = "$STAGING_BRANCH";
then
VERSION="${VERSION}-beta"
VERSION="${VERSION}.b1"
fi
if ! which gsed > /dev/null 2>&1;
View
@@ -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}-beta ..."
echo "Deploying staging release build for v${VERSION}.b1 ..."
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}-beta/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}.b1/AudioKit.framework.zip
fi
exit
else
View
@@ -14,7 +14,7 @@ then
SOURCE="https://files.audiokit.io/releases/v${VER}/AudioKit.framework.zip"
elif test $1 = staging;
then
VER="${VER}-beta"
VER="${VER}.b1"
SOURCE="https://files.audiokit.io/staging/v${VER}/AudioKit.framework.zip"
else
echo "Invalid parameter: $1"

0 comments on commit f54fbbe

Please sign in to comment.