different branch then master
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..."
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..."