Skip to content

Commit a1545d5

Browse files
author
Antonis
committed
Fixed an issue that didn't allow premium version of Olympus to be uploaded to TF
1 parent 1fba758 commit a1545d5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/upload-olympus-to-testfairy.bash

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ then
1717
exit 1
1818
fi
1919

20-
echo "-- Building Olympus & uploading to TF -this might take some time..."
2120
if [ -z $TESTFAIRY_APP_TOKEN ]
2221
then
2322
echo "-- Error: TESTFAIRY_APP_TOKEN environment variable missing"
@@ -33,14 +32,14 @@ fi
3332
# Skip the signArchives task until we properly setup Travis for signing + upload of archives to Sonatype. Otherwise the build breaks
3433
cd Examples/restcomm-olympus || exit 1
3534

36-
if [ -z "$ICE_USERNAME" ] || [ -z "$PICE_PASSWORD" ] || [ -z "$PICE_DOMAIN" ]
35+
if [ -z "$ICE_USERNAME" ] || [ -z "$ICE_PASSWORD" ] || [ -z "$ICE_DOMAIN" ]
3736
then
3837
echo "-- Error: ICE_USERNAME, ICE_PASSWORD and ICE_DOMAIN need to be set for premium Olympus to be built"
3938
exit 1
4039
fi
4140

4241
# Upload premium version to TF
43-
echo "-- Uploading premium version to Test Fairy"
42+
echo "-- Building premium version of Olympus & uploading to Test Fairy -this might take some time..."
4443
./gradlew --quiet -x signArchives -x uploadArchives -x androidJavadocs -PICE_USERNAME=$ICE_USERNAME -PICE_PASSWORD=$ICE_PASSWORD -PICE_DOMAIN=$ICE_DOMAIN -PAPPLICATION_ID="org.restcomm.android.olympus.premium" -PtestfairyChangelog="Version: $ORG_GRADLE_PROJECT_VERSION_NAME+$ORG_GRADLE_PROJECT_VERSION_CODE, GitHub commit: $COMMIT_SHA1, premium build" testfairyDebug || exit 1
4544
if [ $? -ne 0 ]
4645
then
@@ -49,7 +48,7 @@ then
4948
fi
5049

5150
# Upload community version to TF, so that it gets a separate download point from premium (no need to specify APPLICATION_ID as default is for community)
52-
echo "-- Uploading community version to Test Fairy"
51+
echo "-- Building community version of Olympus & uploading to Test Fairy -this might take some time..."
5352
./gradlew --quiet -x signArchives -x uploadArchives -x androidJavadocs -PtestfairyChangelog="Version: $ORG_GRADLE_PROJECT_VERSION_NAME+$ORG_GRADLE_PROJECT_VERSION_CODE, GitHub commit: $COMMIT_SHA1, community build" testfairyDebug || exit 1
5453
if [ $? -ne 0 ]
5554
then

0 commit comments

Comments
 (0)