-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77eb576
commit 0797070
Showing
1 changed file
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,23 @@ workflows: | |
opts: | ||
is_expand: false | ||
steps: | ||
- [email protected]: | ||
title: Set APK path variables | ||
inputs: | ||
- content: |- | ||
#!/usr/bin/env bash | ||
# fail if any commands fails | ||
set -e | ||
# debug log | ||
set -x | ||
UNIVERSAL_APK_PATH=$(echo -n "${BITRISE_APK_PATH_LIST//|/$'\n'}" | grep mapeo-universal) | ||
QA_UNIVERSAL_APK_PATH=$(echo -n "${BITRISE_APK_PATH_LIST//|/$'\n'}" | grep mapeo-QA-universal) | ||
ICCA_UNIVERSAL_APK_PATH=$(echo -n "${BITRISE_APK_PATH_LIST//|/$'\n'}" | grep mapeo-ICCA-universal) | ||
envman add --key UNIVERSAL_APK_PATH --value "$UNIVERSAL_APK_PATH" | ||
envman add --key QA_UNIVERSAL_APK_PATH --value "$QA_UNIVERSAL_APK_PATH" | ||
envman add --key ICCA_UNIVERSAL_APK_PATH --value "$ICCA_UNIVERSAL_APK_PATH" | ||
- [email protected]: {} | ||
- [email protected]: | ||
title: Upload QA variant | ||
|
@@ -38,7 +55,7 @@ workflows: | |
- aws_secret_key: $AWS_SECRET_ACCESS_KEY | ||
- bucket_name: mapeo-apks | ||
- path_in_bucket: beta-testing/v${VERSION_NAME} | ||
- file_path: ${BITRISE_DEPLOY_DIR}/mapeo-QA-universal-v${ANDROID_VERSION_NAME}-qa.apk | ||
- file_path: $QA_UNIVERSAL_APK_PATH | ||
- [email protected]: | ||
title: Upload Release variant | ||
is_skippable: true | ||
|
@@ -47,7 +64,7 @@ workflows: | |
- aws_secret_key: $AWS_SECRET_ACCESS_KEY | ||
- bucket_name: mapeo-apks | ||
- path_in_bucket: beta-testing/v${VERSION_NAME} | ||
- file_path: ${BITRISE_DEPLOY_DIR}/mapeo-universal-v${ANDROID_VERSION_NAME}.apk | ||
- file_path: $UNIVERSAL_APK_PATH | ||
- [email protected]: | ||
title: Upload ICCA variant | ||
is_skippable: true | ||
|
@@ -56,7 +73,7 @@ workflows: | |
- aws_secret_key: $AWS_SECRET_ACCESS_KEY | ||
- bucket_name: mapeo-apks | ||
- path_in_bucket: beta-testing/v${VERSION_NAME} | ||
- file_path: ${BITRISE_DEPLOY_DIR}/mapeo-ICCA-v${ANDROID_VERSION_NAME}.apk | ||
- file_path: $ICCA_UNIVERSAL_APK_PATH | ||
meta: | ||
bitrise.io: null | ||
stack: linux-docker-android | ||
|
@@ -119,10 +136,10 @@ workflows: | |
UNIVERSAL_APK_PATH=$(echo -n "${BITRISE_APK_PATH_LIST//|/$'\n'}" | grep mapeo-universal) | ||
ICCA_RELEASE_APK_PATH=$(echo -n "${BITRISE_APK_PATH_LIST//|/$'\n'}" | grep mapeo-ICCA) | ||
envman --key RELEASE_APK_PATH --value "$RELEASE_APK_PATH" | ||
envman --key INTEL_APK_PATH --value "$INTEL_APK_PATH" | ||
envman --key UNIVERSAL_APK_PATH --value "$UNIVERSAL_APK_PATH" | ||
envman --key ICCA_RELEASE_APK_PATH --value "$ICCA_RELEASE_APK_PATH" | ||
envman add --key RELEASE_APK_PATH --value "$RELEASE_APK_PATH" | ||
envman add --key INTEL_APK_PATH --value "$INTEL_APK_PATH" | ||
envman add --key UNIVERSAL_APK_PATH --value "$UNIVERSAL_APK_PATH" | ||
envman add --key ICCA_RELEASE_APK_PATH --value "$ICCA_RELEASE_APK_PATH" | ||
- [email protected]: | ||
title: Upload APK for Arm | ||
inputs: | ||
|