Revert "Remove --branch=${CIRRUS_BASE_BRANCH} in git clone command."
This reverts commit fc13a7f1fa
.
This commit is contained in:
parent
f459454afe
commit
225d89998b
@ -12,7 +12,7 @@ task:
|
|||||||
- pkg upgrade -y
|
- pkg upgrade -y
|
||||||
- pkg install -y autoconf git gmake
|
- pkg install -y autoconf git gmake
|
||||||
clone_script:
|
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 fetch origin ${CIRRUS_BRANCH}/head:${CIRRUS_BRANCH}
|
||||||
- git checkout ${CIRRUS_BRANCH}
|
- git checkout ${CIRRUS_BRANCH}
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user