only:Build Custom Board Firmware

This commit is contained in:
rusefillc 2023-12-01 22:19:46 -05:00
parent 7d55853247
commit 207db42df2
2 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,13 @@ echo "! SIGNATURE_HASH is a built-in variable generated by config_definition.jar
# read the current git branch name
branchname=`git branch --show-current`
echo "! Current branch is: $branchname" >> ${SIGNATURE_FILE_NAME}
if [ "${branchname}" = "" ]; then
# custom board, empty value while executed within submodule
branchname="default"
echo "! Using default branch $branchname" >> ${SIGNATURE_FILE_NAME}
else
echo "! Current branch is: $branchname" >> ${SIGNATURE_FILE_NAME}
fi
echo "#define TS_SIGNATURE \"rusEFI $branchname.$date.${SHORT_BOARDNAME}.@@SIGNATURE_HASH@@\"" >> ${SIGNATURE_FILE_NAME}

View File

@ -16,7 +16,7 @@ if [ ! "$2" ] || [ ! "$3" ] || [ ! "$4" ]; then
fi
pwd
echo -e "\nUploading .ini files"
echo -e "\nUploading all .ini files"
ls -l .
if [ "$fileName" == "no" ]; then