Created
October 30, 2020 17:20
-
-
Save BelooS/e4385127dd00d21ffd2f5a1c77daf212 to your computer and use it in GitHub Desktop.
Persist apk artefacts
This file contains hidden or 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
set -eo pipefail | |
APK_TARGET_DIR=~/workspace/build/circleci/apk | |
TEST_APK_TARGET_DIR=~/workspace/build/circleci/android-test | |
mkdir -p $APK_TARGET_DIR | |
mkdir -p $TEST_APK_TARGET_DIR | |
find . -type f -name "*.aab" -exec cp {} $APK_TARGET_DIR \; | |
find . -type f -name "*qa.apk" -exec cp {} $APK_TARGET_DIR \; | |
find . -type f -name "*debug.apk" -exec cp {} $APK_TARGET_DIR \; | |
find . -type f -name "*release.apk" -exec cp {} $APK_TARGET_DIR \; | |
find . -type f -name "*androidTest.apk" -exec cp {} $TEST_APK_TARGET_DIR \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment