Skip to content

Commit cbe481b

Browse files
committed
use cd instead of git -C flag
1 parent 39d5698 commit cbe481b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- run: apk update
3333
- run: apk add make gcc g++ git
3434
- run: git clone https://github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
35-
- run: git checkout tags/$CIRCLE_TAG -C $CIRCLE_PROJECT_REPONAME
35+
- run: cd $CIRCLE_PROJECT_REPONAME && git checkout tags/$CIRCLE_TAG
3636
- run: cd $CIRCLE_PROJECT_REPONAME && make get
3737
- run: cd $CIRCLE_PROJECT_REPONAME && make test
3838
build-tagged:
@@ -43,7 +43,7 @@ jobs:
4343
- run: apk update
4444
- run: apk add make gcc g++ git
4545
- run: git clone https://github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
46-
- run: git checkout tags/$CIRCLE_TAG -C $CIRCLE_PROJECT_REPONAME
46+
- run: cd $CIRCLE_PROJECT_REPONAME && git checkout tags/$CIRCLE_TAG
4747
- run: cd $CIRCLE_PROJECT_REPONAME && make get
4848
- run: cd $CIRCLE_PROJECT_REPONAME && make plugin
4949
- persist_to_workspace:

0 commit comments

Comments
 (0)