Skip to content

Commit 830b5ac

Browse files
committed
Add crate from crates.io
1 parent dbb6fea commit 830b5ac

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

utils/build/docker/rust/install_ddtrace.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ set -eu
55
cd /usr/app
66

77
REPO_URL=https://github.com/DataDog/dd-trace-rs
8-
PROD_TAG=v0.0.2
98

109
if [ -e /binaries/rust-load-from-git ]; then
1110
rev_or_branch=$(</binaries/rust-load-from-git)
@@ -15,6 +14,8 @@ if [ -e /binaries/rust-load-from-git ]; then
1514
fi
1615

1716
if [ -e /binaries/dd-trace-rs ]; then
17+
echo "Install from /binaries/dd-trace-rs"
18+
1819
cargo add --path /binaries/dd-trace-rs/datadog-opentelemetry
1920

2021
# TODO: remove once new dd-trace-rs version is merged
@@ -25,11 +26,8 @@ if [ -e /binaries/dd-trace-rs ]; then
2526
cargo add --path /binaries/dd-trace-rs/dd-trace
2627
fi
2728

28-
echo "install from /binaries/dd-trace-rs"
2929
else
30-
# TODO: add lastest release from crates.io
31-
cargo add --git "$REPO_URL" --tag "$PROD_TAG" datadog-opentelemetry
32-
33-
echo "install from --git $REPO_URL --tag $PROD_TAG"
30+
echo "Install from crates.io"
31+
cargo add datadog-opentelemetry
3432
fi
3533

0 commit comments

Comments
 (0)