From aa76bf1dcae6a7782dd668805f21abef5021f6f8 Mon Sep 17 00:00:00 2001 From: Philip Nagler-Frank Date: Fri, 18 Mar 2022 10:17:42 +0100 Subject: [PATCH] patch RELEASE_TYPE in version.mk if exists --- src/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build.sh b/src/build.sh index 0efdc74..1eb33a4 100755 --- a/src/build.sh +++ b/src/build.sh @@ -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)"