[FIX] Remove duplicate jetify step (#1628)
minor: also remove 'cd' calls Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
ef0f632242
commit
8f64e65849
|
@ -148,8 +148,6 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Configure Gradle
|
name: Configure Gradle
|
||||||
command: |
|
command: |
|
||||||
cd android
|
|
||||||
|
|
||||||
echo -e "" > ./gradle.properties
|
echo -e "" > ./gradle.properties
|
||||||
# echo -e "android.enableAapt2=false" >> ./gradle.properties
|
# echo -e "android.enableAapt2=false" >> ./gradle.properties
|
||||||
echo -e "android.useAndroidX=true" >> ./gradle.properties
|
echo -e "android.useAndroidX=true" >> ./gradle.properties
|
||||||
|
@ -165,6 +163,7 @@ jobs:
|
||||||
|
|
||||||
echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties
|
echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties
|
||||||
echo -e "BugsnagAPIKey=$BUGSNAG_KEY" >> ./gradle.properties
|
echo -e "BugsnagAPIKey=$BUGSNAG_KEY" >> ./gradle.properties
|
||||||
|
working_directory: android
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Set Google Services
|
name: Set Google Services
|
||||||
|
@ -194,8 +193,6 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Build Android App
|
name: Build Android App
|
||||||
command: |
|
command: |
|
||||||
npx jetify
|
|
||||||
cd android
|
|
||||||
if [[ $KEYSTORE ]]; then
|
if [[ $KEYSTORE ]]; then
|
||||||
# TODO: enable app bundle again
|
# TODO: enable app bundle again
|
||||||
./gradlew assembleRelease
|
./gradlew assembleRelease
|
||||||
|
@ -206,6 +203,7 @@ jobs:
|
||||||
mkdir -p /tmp/build
|
mkdir -p /tmp/build
|
||||||
|
|
||||||
mv app/build/outputs /tmp/build/
|
mv app/build/outputs /tmp/build/
|
||||||
|
working_directory: android
|
||||||
|
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/build/outputs
|
path: /tmp/build/outputs
|
||||||
|
|
Loading…
Reference in New Issue