File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,21 @@ DISTDIR=dist
27
27
fi
28
28
)
29
29
done
30
+
30
31
(
31
32
cd $DISTDIR
32
- for x in * .tar.gz ; do
33
+ for x in * ; do
34
+ # FIXME: Remove this logic once these packages are available in Pypi
35
+ if (echo " $x " | grep -Eq ^opentelemetry_(instrumentation_aiohttp_server| resource_detector_container).* (\. tar\. gz| \. whl)$); then
36
+ echo " Skipping $x because of erroneous uploads. See: https://github.com/open-telemetry/opentelemetry-python-contrib/issues/2053"
37
+ rm $x
38
+ # FIXME: Remove this once opentelemetry-resource-detector-azure package goes 1.X
39
+ elif (echo " $x " | grep -Eq ^opentelemetry_resource_detector_azure.* (\. tar\. gz| \. whl)$); then
40
+ echo " Skipping $x because of manual upload by Azure maintainers."
41
+ rm $x
33
42
# NOTE: We filter beta vs 1.0 package at this point because we can read the
34
- # version directly from the .tar.gz file.
35
- if (echo " $x " | grep -Eq ^opentelemetry_.* -0\. .* \. tar\. gz$); then
43
+ # version directly from the .tar.gz/whl file
44
+ elif (echo " $x " | grep -Eq ^opentelemetry_.* -0\. .* ( \. tar\. gz| \. whl) $); then
36
45
:
37
46
else
38
47
echo " Skipping $x because it is not in pre-1.0 state and should be released using a tag."
You can’t perform that action at this time.
0 commit comments