File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ for dir in *; do
64
64
[ " $dir " = " sdk" ] || \
65
65
[ " $dir " = " third_party" ] || \
66
66
[ " $dir " = " LICENSE" ] || \
67
+ [ " $dir " = " MODULE.bazel" ] || \
67
68
[ " $dir " = " third_party_release" ]; then
68
69
continue
69
70
fi
@@ -85,7 +86,7 @@ curl -sL -o "$PROTOC_ZIP" "https://github.com/protocolbuffers/protobuf/releases/
85
86
unzip -o " $PROTOC_ZIP " -d ./protoc/
86
87
87
88
echo " Getting opentelemetry-proto files"
88
- OTEL_PROTO_VERSION=$( grep " opentelemetry-proto" " opentelemetry-cpp/third_party_release " | awk -F " =v " ' {print $2} ' )
89
+ OTEL_PROTO_VERSION=$( grep " opentelemetry-proto" " opentelemetry-cpp/MODULE.bazel " | sed -n ' s/.*version = "\([^"]*\)".*/\1/p ' )
89
90
OTEL_PROTO_TARBALL=v$OTEL_PROTO_VERSION .tar.gz
90
91
91
92
curl -sL -o " $OTEL_PROTO_TARBALL " " https://github.com/open-telemetry/opentelemetry-proto/archive/refs/tags/$OTEL_PROTO_TARBALL "
You can’t perform that action at this time.
0 commit comments