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:
parent
566dcf4d56
commit
2475c7d997
@ -34,6 +34,7 @@
|
|||||||
# - `repo init`
|
# - `repo init`
|
||||||
# - `repo sync`
|
# - `repo sync`
|
||||||
# - setup our overlays
|
# - setup our overlays
|
||||||
|
# - Set RELEASE_TYPE
|
||||||
# - Add custom packages to be installed
|
# - Add custom packages to be installed
|
||||||
# - Handle keys
|
# - Handle keys
|
||||||
# - Prepare the environment
|
# - 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"
|
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
|
# Add custom packages to be installed
|
||||||
if [ -n "$CUSTOM_PACKAGES" ]; then
|
if [ -n "$CUSTOM_PACKAGES" ]; then
|
||||||
echo ">> [$(date)] Adding custom packages ($CUSTOM_PACKAGES)"
|
echo ">> [$(date)] Adding custom packages ($CUSTOM_PACKAGES)"
|
||||||
|
Loading…
Reference in New Issue
Block a user