11name : Release ADOT OTLP UDP Exporter 
22
33on :
4+   push :
5+     branches :
6+       - " rename-udp-exporter" 
47  workflow_dispatch :
58    inputs :
69      version :
912        type : string 
1013env :
1114  AWS_DEFAULT_REGION : us-east-1 
12-   ARTIFACT_NAME : aws_otel_otlp_udp_exporter -${{ github.event.inputs.version }}-py3-none-any.whl
15+   ARTIFACT_NAME : aws_distro_otel_otlp_udp_exporter -${{ github.event.inputs.version }}-py3-none-any.whl
1316
1417permissions :
1518  id-token : write 
3235          pip install hatch pytest flask 
3336
3437       - name : Build package 
35-         working-directory : exporters/aws-otel-otlp-udp-exporter 
38+         working-directory : exporters/aws-distro- otel-otlp-udp-exporter 
3639        run : hatch build 
3740
3841      - name : Download and run X-Ray Daemon 
@@ -45,11 +48,11 @@ jobs:
4548
4649       - name : Install UDP Exporter 
4750        run : | 
48-           pip install ./exporters/aws-otel-otlp-udp-exporter/dist/*.whl 
51+           pip install ./exporters/aws-distro- otel-otlp-udp-exporter/dist/*.whl 
4952
5053       - name : Ensure Unit Tests are passing 
5154        run : | 
52-           pytest exporters/aws-otel-otlp-udp-exporter/tests/ 
55+           pytest exporters/aws-distro- otel-otlp-udp-exporter/tests/ 
5356
5457       - name : Run Sample App in Background 
5558        working-directory : sample-applications/integ-test-app 
@@ -106,12 +109,12 @@ jobs:
106109          TWINE_USERNAME : ' __token__' 
107110          TWINE_PASSWORD : ${{ env.TEST_PYPI_TOKEN_API_TOKEN }} 
108111        run : | 
109-           twine upload --repository testpypi --skip-existing --verbose exporters/aws-otel-otlp-udp-exporter/dist/${{ env.ARTIFACT_NAME }} 
110- 
111-        #  Publish to prod PyPI
112-       - name : Publish to PyPI 
113-         env :
114-           TWINE_USERNAME : ' __token__' 
115-           TWINE_PASSWORD : ${{ env.PROD_PYPI_TOKEN_API_TOKEN }} 
116-         run : | 
117-           twine upload --skip-existing --verbose exporters/aws-otel-otlp-udp-exporter/dist/${{ env.ARTIFACT_NAME }} 
112+           twine upload --repository testpypi --skip-existing --verbose exporters/aws-distro- otel-otlp-udp-exporter/dist/${{ env.ARTIFACT_NAME }} 
113+        # 
114+       #  #  Publish to prod PyPI
115+       #   - name: Publish to PyPI
116+       #     env:
117+       #       TWINE_USERNAME: '__token__'
118+       #       TWINE_PASSWORD: ${{ env.PROD_PYPI_TOKEN_API_TOKEN }}
119+       #     run: |
120+       #       twine upload --skip-existing --verbose exporters/aws-distro -otel-otlp-udp-exporter/dist/${{ env.ARTIFACT_NAME }}
0 commit comments