Skip to content

Commit

Permalink
[chore] enable update-dep for semconv module (open-telemetry#9580)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boten authored and djaglowski committed May 10, 2022
1 parent 7805fa0 commit f100849
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions internal/buildscripts/update-dep
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ fi
# If MODULE is "go.opentelemetry.io/collector" need to update "go.opentelemetry.io/collector/model"
# and "go.opentelemetry.io/collector/pdata" as well.
if [ "$MODULE" == "go.opentelemetry.io/collector" ]; then
# TODO: Uncomment this after semconv releases.
# SEMCONV=$MODULE"/semconv"
# if grep -q "$SEMCONV " go.mod; then
# go get "$SEMCONV"@"$VERSION"
# fi
SEMCONV=$MODULE"/semconv"
if grep -q "$SEMCONV " go.mod; then
go get "$SEMCONV"@"$VERSION"
fi
PDATA=$MODULE"/pdata"
if grep -q "$PDATA " go.mod; then
go get "$PDATA"@"$VERSION"
Expand Down

0 comments on commit f100849

Please sign in to comment.