We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5d3074 commit f7256f5Copy full SHA for f7256f5
scripts/build.sh
@@ -31,11 +31,14 @@ DISTDIR=dist
31
(
32
cd $DISTDIR
33
for x in *.tar.gz ; do
34
- if [[ $x =~ ^opentelemetry-.*-1\.[0-9]+.*\.tar\.gz$ ]]; then
35
- echo "Skipping $x because it is >=1.0 and should be released using a tag."
36
- continue
+ # NOTE: We filter beta vs 1.0 package at this point because we can read the
+ # version directly from the .tar.gz file.
+ if (echo "$x" | grep -Eq ^opentelemetry-.*-0\..*\.tar\.gz$); then
37
+ pip wheel --no-deps $x
38
+ else
39
+ echo "Skipping $x because it is not in pre-1.0 state and should be released using a tag."
40
+ rm $x
41
fi
- pip wheel --no-deps $x
42
done
43
)
44
0 commit comments