File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ if [[ -z "${BUILDKITE+x}" ]] && [[ -z "${CI+x}" ]] && [[ -z "${GITHUB_ACTIONS+x}
150
150
-u " $( id -u) :$( id -g) " \
151
151
--volume " $repo :/usr/src/elasticsearch-js" \
152
152
--volume /usr/src/elasticsearch-js/node_modules \
153
- --volume " $( realpath $repo /../elastic-client-generator-js) :/usr/src/elastic-client-generator-js" \
153
+ --volume " $( realpath " $repo /../elastic-client-generator-js" ) :/usr/src/elastic-client-generator-js" \
154
154
--env " WORKFLOW=$WORKFLOW " \
155
155
--name make-elasticsearch-js \
156
156
--rm \
@@ -159,6 +159,14 @@ if [[ -z "${BUILDKITE+x}" ]] && [[ -z "${CI+x}" ]] && [[ -z "${GITHUB_ACTIONS+x}
159
159
node .buildkite/make.mjs --task $TASK ${TASK_ARGS[*]} "
160
160
else
161
161
echo -e " \033[34;1mINFO: Running in CI mode"
162
+
163
+ # determine branch to clone
164
+ GENERATOR_BRANCH=" main"
165
+ if [[ " $VERSION " == 8.* ]]; then
166
+ GENERATOR_BRANCH=" 8.x"
167
+ fi
168
+ echo -e " \033[34;1mINFO: Generator branch: $GENERATOR_BRANCH "
169
+
162
170
docker run \
163
171
--volume " $repo :/usr/src/elasticsearch-js" \
164
172
--volume /usr/src/elasticsearch-js/node_modules \
You can’t perform that action at this time.
0 commit comments