Skip to content

Commit f700461

Browse files
committed
skip aiohttp-server
1 parent 4602bfa commit f700461

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

eachdist.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ packages=
4747

4848
[exclude_release]
4949
packages=
50-
opentelemetry-instrumentation-aiohttp-server
5150
opentelemetry-resource-detector-azure
5251
opentelemetry-sdk-extension-aws
5352
opentelemetry-propagator-aws-xray

scripts/build.sh

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,18 @@ DISTDIR=dist
1818

1919
for d in exporter/*/ opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/*/ propagator/*/ resource/*/ sdk-extension/*/ util/*/ ; do
2020
(
21-
echo "building $d"
22-
cd "$d"
23-
# Some ext directories (such as docker tests) are not intended to be
24-
# packaged. Verify the intent by looking for a pyproject.toml.
25-
if [ -f pyproject.toml ]; then
26-
python3 -m build --outdir "$BASEDIR/dist/"
27-
fi
21+
# Skip the build step if the directory name is "opentelemetry-instrumentation-aiohttp-server"
22+
if [[ "$d" == *"opentelemetry-instrumentation-aiohttp-server"* ]]; then
23+
echo "Skipping build for $d"
24+
else
25+
echo "building $d"
26+
cd "$d"
27+
# Some ext directories (such as docker tests) are not intended to be
28+
# packaged. Verify the intent by looking for a pyproject.toml.
29+
if [ -f pyproject.toml ]; then
30+
python3 -m build --outdir "$BASEDIR/dist/"
31+
fi
32+
fi
2833
)
2934
done
3035
(

0 commit comments

Comments
 (0)