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