mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-22 18:45:40 +00:00
Handle pull request branch
This commit is contained in:
parent
41a2e731eb
commit
b88a623a9f
@ -9,7 +9,11 @@ then
|
||||
fi
|
||||
|
||||
# Get the rest of the repository history
|
||||
if [ "${APPVEYOR_REPO_BRANCH}" != "" ];
|
||||
if [ "${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}" != "" ];
|
||||
then
|
||||
git fetch --all
|
||||
git checkout ${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}
|
||||
elif [ "${APPVEYOR_REPO_BRANCH}" != "" ];
|
||||
then
|
||||
git fetch --all
|
||||
git checkout ${APPVEYOR_REPO_BRANCH}
|
||||
|
Loading…
Reference in New Issue
Block a user