builder: Checkout to master and fetch client_config from pinocchio_work

This commit is contained in:
Arthur Golubtsov
2019-10-23 18:16:02 +03:00
parent fd1fc5d296
commit 1a4e9e394e

View File

@@ -79,9 +79,11 @@ img-resize ${IMAGE_PATH} max '5G'
# Checkout to tag's branch if built with travis tag
if [[ ! -z ${TRAVIS_TAG} ]]; then
cd ${REPO_DIR}
echo_stamp "Checkout to origin/pinocchio_work from ${TRAVIS_TAG}" "INFO"
echo_stamp "Checkout to master from ${TRAVIS_TAG}" "INFO"
git fetch
git checkout --track origin/pinocchio_work
git checkout master
git checkout pinocchio_work -- Drone/client_config.ini
cd /
fi