diff --git a/scripts/circleci.bash b/scripts/circleci.bash index f1faa521e3d..8d8541c28ee 100755 --- a/scripts/circleci.bash +++ b/scripts/circleci.bash @@ -22,6 +22,13 @@ if [ ! -d $APP_PATH ]; then git submodule add ${CIRCLE_REPOSITORY_URL} $APP_PATH fi +cd $APP_PATH + +echo checking out our commit $CIRCLE_BRANCH +git fetch --prune +git checkout -B $CIRCLE_BRANCH +git reset --hard $CIRCLE_SHA1 + cd $KAZOO_ROOT echo "make a pristine environment for the kazoo dir"