File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,11 @@ function search_wheel {
109109 export WHEEL_FILE=$( curl -sSfL " ${S3_BASE} /index-${INDEX} .html" \
110110 | grep -o " $SEARCH_PATTERN " \
111111 | head -n 1)
112+ if [ ! -z " ${WHEEL_FILE} " ]; then
113+ curl -sSfL " ${S3_BASE} /${WHEEL_FILE} " -o " ${WHEEL_FILE} "
114+ echo " Using S3 wheel: ${WHEEL_FILE} "
115+ replace_ddtrace_dep " ${WHEEL_BASE_NAME} = { file = \" ${WHEEL_FILE} \" }"
116+ fi
112117}
113118
114119function docker_build_zip {
@@ -141,10 +146,6 @@ function docker_build_zip {
141146 fi
142147 if [ -z " ${WHEEL_FILE} " ]; then
143148 echo " No S3 wheel found for ${PY_TAG} ${PLATFORM} , using default pyproject.toml version"
144- else
145- curl -sSfL " ${S3_BASE} /${WHEEL_FILE} " -o " ${WHEEL_FILE} "
146- echo " Using S3 wheel: ${WHEEL_FILE} "
147- replace_ddtrace_dep " ddtrace_serverless = { file = \" ${WHEEL_FILE} \" }"
148149 fi
149150 fi
150151
You can’t perform that action at this time.
0 commit comments