diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-06-03 08:43:25 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-05 08:55:43 -0700 |
commit | 711e593d5984aad3bf35c51b7ac4482982bc16c7 (patch) | |
tree | dac80359139997a0d9f34d1f1c343beca0766fff | |
parent | a5ed590a1183f2fb2745f47cd701c03c9737e4ca (diff) | |
download | meta-clang-711e593d5984aad3bf35c51b7ac4482982bc16c7.tar.gz |
drone: Use $DRONE_SOURCE_BRANCH to checkout main distro
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | .drone.yml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ trigger: | |||
19 | steps: | 19 | steps: |
20 | - name: build | 20 | - name: build |
21 | commands: | 21 | commands: |
22 | - git clone --recurse-submodules -j8 -b master git://github.com/YoeDistro/yoe-distro.git yoe | 22 | - git clone --recurse-submodules -j8 -b $DRONE_SOURCE_BRANCH git://github.com/YoeDistro/yoe-distro.git yoe |
23 | - cd yoe | 23 | - cd yoe |
24 | - git checkout master | 24 | - git checkout master |
25 | - git pull | 25 | - git pull |