mirror of
https://github.com/lineageos4microg/docker-lineage-cicd
synced 2024-11-09 10:09:56 +01:00
We changed the api, so we need to regenerate current.txt
This commit is contained in:
parent
4a76ef4404
commit
cb1d2d4192
@ -282,7 +282,9 @@ for branch in ${BRANCH_NAME//,/ }; do
|
|||||||
los_ver_minor=$(sed -n -e 's/^\s*PRODUCT_VERSION_MINOR = //p' "$makefile_containing_version")
|
los_ver_minor=$(sed -n -e 's/^\s*PRODUCT_VERSION_MINOR = //p' "$makefile_containing_version")
|
||||||
los_ver="$los_ver_major.$los_ver_minor"
|
los_ver="$los_ver_major.$los_ver_minor"
|
||||||
|
|
||||||
|
patches_applied=false
|
||||||
if [ "$APPLY_PATCHES" = true ]; then
|
if [ "$APPLY_PATCHES" = true ]; then
|
||||||
|
|
||||||
# If user build variant should also enable LOS signature spoofing
|
# If user build variant should also enable LOS signature spoofing
|
||||||
if [ "$USER_BUILD_SPOOFING" = "yes" ]; then
|
if [ "$USER_BUILD_SPOOFING" = "yes" ]; then
|
||||||
if [ -n "$user_build_spoofing_patch" ]; then
|
if [ -n "$user_build_spoofing_patch" ]; then
|
||||||
@ -298,6 +300,7 @@ for branch in ${BRANCH_NAME//,/ }; do
|
|||||||
|
|
||||||
# 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
|
||||||
if [ -n "$frameworks_base_patch" ]; then
|
if [ -n "$frameworks_base_patch" ]; then
|
||||||
echo ">> [$(date)] WARNING: Signature spoofing patches requested, but branch ($branch) does not support microG patches"
|
echo ">> [$(date)] WARNING: Signature spoofing patches requested, but branch ($branch) does not support microG patches"
|
||||||
else
|
else
|
||||||
@ -467,6 +470,11 @@ 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
|
||||||
|
# we changed the api - need to regenerate current.txt
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user