only:SCRIPT_NAME

This commit is contained in:
rusefillc 2024-09-07 21:32:39 -04:00
parent 15964e8a01
commit 33f3b54a94
1 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
set -e
SHORT_BOARD_NAME=${1:-$SHORT_BOARD_NAME}
SCRIPT_NAME=$(basename "$0")
cd $(dirname "$0")
@ -25,9 +26,9 @@ branchname=`git branch --show-current`
if [ "${branchname}" = "" ]; then
# custom board, empty value while executed within submodule
branchname=${AUTOMATION_REF}
echo "! Using env variable branch $branchname" >> ${TEMP_FILE}
echo "! ${SCRIPT_NAME} Using env variable branch [$branchname]" | tee >> ${TEMP_FILE}
else
echo "! Current branch is: $branchname" >> ${TEMP_FILE}
echo "! ${SCRIPT_NAME} Current branch is: $branchname" | tee >> ${TEMP_FILE}
fi
if [ -z "${signature_white_label}" ]; then