1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

We've changed the api, so we need to regenerate current.txt

This commit is contained in:
Pete Fotheringham 2024-04-24 19:29:19 +01:00
parent 8b949e96ab
commit 3f6d79c5be

@ -279,8 +279,10 @@ for branch in ${BRANCH_NAME//,/ }; do
los_ver="$los_ver_major.$los_ver_minor" los_ver="$los_ver_major.$los_ver_minor"
if [ "$APPLY_PATCHES" = true ]; then if [ "$APPLY_PATCHES" = true ]; then
patches_applied=false
# If needed, apply the microG's signature spoofing patch # If needed, apply the microG's signature spoofing patch
if [ "$SIGNATURE_SPOOFING" = "yes" ] || [ "$SIGNATURE_SPOOFING" = "restricted" ]; then if [ "$SIGNATURE_SPOOFING" = "yes" ] || [ "$SIGNATURE_SPOOFING" = "restricted" ]; then
patches_applied=true
# Determine which patch should be applied to the current Android source tree # Determine which patch should be applied to the current Android source tree
cd frameworks/base cd frameworks/base
if [ "$SIGNATURE_SPOOFING" = "yes" ]; then if [ "$SIGNATURE_SPOOFING" = "yes" ]; then
@ -446,6 +448,10 @@ for branch in ${BRANCH_NAME//,/ }; do
build_successful=true build_successful=true
if [ "$CALL_MKA" = true ]; then if [ "$CALL_MKA" = true ]; then
if [ "$patches_applied" = true ]; then
m api-stubs-docs-non-updatable-update-current-api &>> "$DEBUG_LOG"
fi
# Start the build # Start the build
echo ">> [$(date)] Starting build for $codename, $branch branch" | tee -a "$DEBUG_LOG" echo ">> [$(date)] Starting build for $codename, $branch branch" | tee -a "$DEBUG_LOG"
build_successful=false build_successful=false