speed up checking out nightly branch

This commit is contained in:
Frank Morgner 2018-11-20 13:02:29 +01:00
parent ad83c2c5a9
commit d4f039cb50
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -ex -o xtrace
BUILDPATH=${PWD}
BRANCH="`git log --max-count=1 --date=short --abbrev=8 --pretty=format:"%cd_%h"`"
git clone https://${GH_TOKEN}@github.com/OpenSC/Nightly.git > /dev/null 2>&1
git clone --single-branch https://${GH_TOKEN}@github.com/OpenSC/Nightly.git > /dev/null 2>&1
cd Nightly
git checkout -b "${BRANCH}"