Skip to content
Snippets Groups Projects
Commit 67dcea53 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Generate app bundles in the script and add them to the CI artifacts

parent cb67ca5c
Branches transifex
No related tags found
1 merge request!1806Generate app bundles in the script and add them to the CI artifacts
Pipeline #416179 failed
......@@ -364,6 +364,10 @@ else
fi
TARGET="${ACTION}${BUILDTYPE}"
GRADLE_VLC_SRC_DIRS="$GRADLE_VLC_SRC_DIRS" CLI="" GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} -Dmaven.repo.local=$M2_REPO $TARGET
if [ "$BUILDTYPE" = "Release" -a "$ACTION" = "assemble" ]; then
TARGET="bundle${BUILDTYPE}"
GRADLE_VLC_SRC_DIRS="$GRADLE_VLC_SRC_DIRS" CLI="" GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} -Dmaven.repo.local=$M2_REPO $TARGET
fi
if [ "$TEST" = 1 ]; then
TARGET="application:vlc-android:install${BUILDTYPE}AndroidTest"
GRADLE_VLC_SRC_DIRS="$GRADLE_VLC_SRC_DIRS" CLI="" GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} -Dmaven.repo.local=$M2_REPO $TARGET
......
......@@ -485,10 +485,12 @@ release:
script:
- ./buildsystem/compile.sh --init
- ./gradlew assembleRelease
- ./gradlew bundleRelease
artifacts:
name: "${CI_COMMIT_TAG}"
paths:
- application/app/build/outputs/apk/release/VLC-Android-*.apk
- application/app/build/outputs/bundle/release/*.aab
# - application/app/build/outputs/mapping/release/mapping.txt
expire_in: 2 weeks
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment