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

patch RELEASE_TYPE in version.mk if exists

This commit is contained in:
Philip Nagler-Frank 2022-03-18 10:17:42 +01:00
parent e9be5511b3
commit aa76bf1dca

@ -238,7 +238,7 @@ for branch in ${BRANCH_NAME//,/ }; do
fi
echo ">> [$(date)] Setting \"$RELEASE_TYPE\" as release type"
sed -i "/\$(filter .*\$(${vendor^^}_BUILDTYPE)/,+2d" "vendor/$vendor/config/common.mk"
sed -i "/\$(filter .*\$(${vendor^^}_BUILDTYPE)/,+2d" "$makefile_containing_version"
# Set a custom updater URI if a OTA URL is provided
echo ">> [$(date)] Adding OTA URL overlay (for custom URL $OTA_URL)"