mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 18:15:24 +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