File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 tool : protoc
2222 - name : Checkout
2323 uses : actions/checkout@v2
24- - name : get version
24+ - name : Get version
2525 run : echo PACKAGE_VERSION=$(sed -nE 's/^\s*version = "(.*?)"/\1/p' Cargo.toml) >> $GITHUB_ENV
26- - name : check published version
26+ - name : Check published version
2727 run : echo PUBLISHED_VERSION=$(cargo search kcl --limit 1 | sed -nE 's/^[^"]*"//; s/".*//1p' -) >> $GITHUB_ENV
2828 - name : cargo login
2929 if : env.PACKAGE_VERSION != env.PUBLISHED_VERSION
3434 cargo package
3535 echo "We will publish:" $PACKAGE_VERSION
3636 echo "This is current latest:" $PUBLISHED_VERSION
37- - name : Publish KCL
37+ - name : Publish
3838 if : env.PACKAGE_VERSION != env.PUBLISHED_VERSION
3939 run : |
4040 echo "# Cargo Publish"
Original file line number Diff line number Diff line change 1+ [ ![ crates-badge]] ( https://crates.io/crates/ddtrace )
2+ [ ![ docs-badge]] ( https://docs.rs/ddtrace )
3+ [ ![ Crates.io] ( https://img.shields.io/crates/l/ddtrace )] ( LICENSE )
4+
15Datadog tracing and log correlation for Rust services.
26
37Datadog has official support for Python, which includes various SDKs and
@@ -160,3 +164,6 @@ fn get_http_client() -> ClientWithMiddleware {
160164 . build ()
161165}
162166```
167+
168+ [ crates-badge ] : https://img.shields.io/crates/v/ddtrace.svg
169+ [ docs-badge ] : https://docs.rs/ddtrace/badge.svg
You can’t perform that action at this time.
0 commit comments