ci: fix test build system when using template repository from a

different branch then master
This commit is contained in:
David Cermak 2019-09-09 11:48:24 +02:00
parent d735f1d58d
commit b494ffaf5b
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ function run_tests()
if [ -z $CHECKOUT_REF_SCRIPT ]; then
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
else
$CHECKOUT_REF_SCRIPT esp-idf-template
$CHECKOUT_REF_SCRIPT esp-idf-template .
fi
print_status "Updating template config..."

View file

@ -48,7 +48,7 @@ function run_tests()
if [ -z $CHECKOUT_REF_SCRIPT ]; then
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
else
$CHECKOUT_REF_SCRIPT esp-idf-template
$CHECKOUT_REF_SCRIPT esp-idf-template .
fi
print_status "Try to clean fresh directory..."