|
@@ -13,9 +13,13 @@ checkout:
|
13
|
13
|
- git remote set-url origin https://github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME.git:
|
14
|
14
|
pwd:
|
15
|
15
|
../meta/client
|
16
|
|
- - git fetch origin $CIRCLE_BRANCH:circleci:
|
17
|
|
- pwd:
|
18
|
|
- ../meta/client
|
|
16
|
+ - >
|
|
17
|
+ cd ../meta/client;
|
|
18
|
+ if [ -n "$CIRCLE_PR_NUMBER" ]; then
|
|
19
|
+ git fetch origin pull/$CIRCLE_PR_NUMBER/head:circleci;
|
|
20
|
+ else
|
|
21
|
+ git fetch origin $CIRCLE_BRANCH:circleci;
|
|
22
|
+ fi
|
19
|
23
|
- git fetch --tags:
|
20
|
24
|
pwd:
|
21
|
25
|
../meta/client
|