Skip to content

Commit

Permalink
builder: Checkout to master and fetch client_config from pinocchio_work
Browse files Browse the repository at this point in the history
  • Loading branch information
goldarte committed Oct 23, 2019
1 parent fd1fc5d commit 1a4e9e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion builder/image-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1a4e9e3

Please sign in to comment.