Skip to content

Commit 4cb15a5

Browse files
authored
Update publishing UDP Exporter via npm, not npx (#276)
*Issue #, if available:* `NPM_CONFIG_PROVENANCE` config setting doesn't apply to npx, but should apply for npm. *Description of changes:* - Use `npm` to publish, similar to how [ADOT Instrumentation is currently published](https://github.com/aws-observability/aws-otel-js-instrumentation/blob/v0.7.0/.github/workflows/release-build.yml#L122). By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 308f914 commit 4cb15a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-udp-exporter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
exit 1
5353
fi
5454
55-
# Publish OTLP UDP Exporter to npm
55+
# Publish X-Ray UDP Exporter to npm
5656
- name: Publish to npm
5757
working-directory: exporters/aws-distro-opentelemetry-exporter-xray-udp
5858
env:
5959
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6060
NPM_CONFIG_PROVENANCE: true
61-
run: npx publish
61+
run: npm publish
6262

6363
# Publish to GitHub releases
6464
- name: Create GH release
@@ -70,4 +70,4 @@ jobs:
7070
--title "Release aws-distro-opentelemetry-exporter-xray-udp v${{ inputs.udp-exporter-version }}" \
7171
--notes "Please refer to the [Changelog](https://github.com/aws-observability/aws-otel-js-instrumentation/blob/main/exporters/aws-distro-opentelemetry-exporter-xray-udp/CHANGELOG.md) for more details" \
7272
--draft \
73-
"aws-distro-opentelemetry-exporter-xray-udp/v${{ inputs.udp-exporter-version }}"
73+
"aws-distro-opentelemetry-exporter-xray-udp/v${{ inputs.udp-exporter-version }}"

0 commit comments

Comments
 (0)