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

Set RELEASE_TYPE

This commit is contained in:
Pete Fotheringham 2024-09-05 18:23:33 +01:00
parent 566dcf4d56
commit 2475c7d997

@ -34,6 +34,7 @@
# - `repo init`
# - `repo sync`
# - setup our overlays
# - Set RELEASE_TYPE
# - Add custom packages to be installed
# - Handle keys
# - Prepare the environment
@ -272,6 +273,11 @@ for codename in ${devices//,/ }; do
DEBUG_LOG="$LOGS_DIR/$logsubdir/lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename.log"
# Set RELEASE_TYPE
echo ">> [$(date)] Setting \"$RELEASE_TYPE\" as release type"
sed -i "/\$(filter .*\$(${vendor^^}_BUILDTYPE)/,/endif/d" "$makefile_containing_version"
# Add custom packages to be installed
if [ -n "$CUSTOM_PACKAGES" ]; then
echo ">> [$(date)] Adding custom packages ($CUSTOM_PACKAGES)"