We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84becce commit a8834c3Copy full SHA for a8834c3
.github/workflows/release-udp-exporter.yml
@@ -44,6 +44,14 @@ jobs:
44
cd exporters/aws-distro-opentelemetry-exporter-xray-udp
45
npm pack
46
47
+ - name: Validate project version matches workflow input
48
+ run: |
49
+ xrayUdpSpanExporterVersion=$(node -p "require('./exporters/aws-distro-opentelemetry-exporter-xray-udp/package.json').version")
50
+ if [[ ! "$xrayUdpSpanExporterVersion" == "${{ inputs.udp-exporter-version }}" ]]; then
51
+ echo "Input version '${{ inputs.udp-exporter-version }}' does not match with the UDP Exporter project version '$xrayUdpSpanExporterVersion'"
52
+ exit 1
53
+ fi
54
+
55
# Publish OTLP UDP Exporter to npm
56
- name: Publish to npm
57
working-directory: exporters/aws-distro-opentelemetry-exporter-xray-udp
0 commit comments