@@ -111,18 +111,22 @@ stages:
111111 python -m pip install --upgrade pip twine
112112 displayName: 'Install twine'
113113
114- - task : TwineAuthenticate@1
115- displayName : ' Authenticate with MSAL-Test-Python-Upload'
116- inputs :
117- pythonUploadServiceConnection : MSAL-Test-Python-Upload
118-
119- - script : |
120- python -m twine upload \
121- -r "MSAL-Test-Python-Upload" \
122- --config-file $(PYPIRC_PATH) \
123- --skip-existing \
124- $(Pipeline.Workspace)/python-dist/*
125- displayName: 'Upload to test.pypi.org'
114+ # TODO: create MSAL-Test-Python-Upload SC with test.pypi.org API token, then uncomment:
115+ # - task: TwineAuthenticate@1
116+ # displayName: 'Authenticate with MSAL-Test-Python-Upload'
117+ # inputs:
118+ # pythonUploadServiceConnection: MSAL-Test-Python-Upload
119+
120+ # - script: |
121+ # python -m twine upload \
122+ # -r "MSAL-Test-Python-Upload" \
123+ # --config-file $(PYPIRC_PATH) \
124+ # --skip-existing \
125+ # $(Pipeline.Workspace)/python-dist/*
126+ # displayName: 'Upload to test.pypi.org'
127+
128+ - script : echo "Publish to test.pypi.org skipped — MSAL-Test-Python-Upload SC not yet created."
129+ displayName : ' Skip upload (SC pending)'
126130
127131# ══════════════════════════════════════════════════════════════════════════════
128132# Stage 4b · Publish to PyPI (ESRP Production)
0 commit comments