Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
contents: read

steps:
- run: dnf update -y && dnf install -y git tar awk gcc pkg-config openssl-devel
- run: dnf update -y && dnf install -y git tar gcc pkg-config openssl-devel

- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Extract version
id: version
run: |
VERSION="$(cargo pkgid | awk -F'#' '{print $NF}')"
VERSION="$(cargo pkgid | awk -F'#' '{ print $NF }')"
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
MAJOR="$(echo "$VERSION" | awk -F. '{ print $1 }')"
MINOR="$(echo "$VERSION" | awk -F. '{ print $2 }')"
Expand Down
2 changes: 1 addition & 1 deletion src/detector/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn detect(attributes: &mut Vec<KeyValue>) {
key: "sw.apm.otelcol.version".to_string(),
value: Some(AnyValue {
value: Some(Value::StringValue(
concat!(env!("CARGO_PKG_VERSION"), "+", env!("CARGO_PKG_NAME")).to_string(),
concat!(env!("CARGO_PKG_VERSION"), "+rust").to_string(),
)),
}),
..Default::default()
Expand Down
Loading