From 225d89998bae562b13b681f74019697b66e07f02 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Mon, 14 Jan 2019 07:10:39 -0800 Subject: [PATCH] Revert "Remove --branch=${CIRRUS_BASE_BRANCH} in git clone command." This reverts commit fc13a7f1fa7d1cfc1d393d7a448e68d0f433d840. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5e6756a3..8b1b38dd 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -12,7 +12,7 @@ task: - pkg upgrade -y - pkg install -y autoconf git gmake clone_script: - - git clone --tags https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git ${CIRRUS_WORKING_DIR} + - git clone --tags --branch=${CIRRUS_BASE_BRANCH} https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git ${CIRRUS_WORKING_DIR} - git fetch origin ${CIRRUS_BRANCH}/head:${CIRRUS_BRANCH} - git checkout ${CIRRUS_BRANCH} script: