@@ -42,21 +42,21 @@ variables:
4242# ══════════════════════════════════════════════════════════════════════════════
4343stages :
4444- stage : Validate
45- displayName : ' Validate version'
45+ displayName : ' 🔍 Validate version'
4646 jobs :
4747 - job : ValidateVersion
48- displayName : ' Assert packageVersion matches msal/sku.py '
48+ displayName : ' Check version matches source '
4949 pool :
5050 vmImage : ubuntu-latest
5151 steps :
5252 - task : UsePythonVersion@0
5353 inputs :
5454 versionSpec : ' 3.12'
55- displayName : ' Use Python 3.12 '
55+ displayName : ' Set up Python '
5656
5757 - bash : |
5858 PARAM_VER="${{ parameters.packageVersion }}"
59- SKU_VER=$(python -c "import sys; sys.path.insert(0, 'msal'); from sku import __version__ ; print(__version__)")
59+ SKU_VER=$(python -c "exec(open( 'msal/sku.py').read()) ; print(__version__)")
6060
6161 if [ -z "$PARAM_VER" ]; then
6262 echo "##vso[task.logissue type=error]packageVersion is required. Enter the version to publish (must match msal/sku.py __version__)."
@@ -68,18 +68,18 @@ stages:
6868 else
6969 echo "Version validated: $PARAM_VER"
7070 fi
71- displayName: 'Validate version matches msal/sku.py'
71+ displayName: 'Verify version parameter matches msal/sku.py'
7272
7373# ══════════════════════════════════════════════════════════════════════════════
7474# Stage 2 · CI — run the full test matrix
7575# ══════════════════════════════════════════════════════════════════════════════
7676- stage : CI
77- displayName : ' Test '
77+ displayName : ' 🧪 Run tests '
7878 dependsOn : Validate
7979 condition : succeeded()
8080 jobs :
8181 - job : Test
82- displayName : ' pytest – Python $(python.version)'
82+ displayName : ' pytest · Python $(python.version)'
8383 pool :
8484 vmImage : ubuntu-latest
8585 strategy :
@@ -101,12 +101,12 @@ stages:
101101# Stage 3 · Build — compile sdist + wheel (single Python version)
102102# ══════════════════════════════════════════════════════════════════════════════
103103- stage : Build
104- displayName : ' Build distribution '
104+ displayName : ' 📦 Build package '
105105 dependsOn : CI
106106 condition : succeeded()
107107 jobs :
108108 - job : BuildDist
109- displayName : ' Build sdist + wheel'
109+ displayName : ' Build sdist + wheel (Python 3.12) '
110110 pool :
111111 vmImage : ubuntu-latest
112112 steps :
@@ -120,7 +120,7 @@ stages:
120120# Runs when: publishTarget == 'MSAL-Python'
121121# ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
122122- stage : PublishMSALPython
123- displayName : ' Publish → MSAL-Python ( test.pypi.org)'
123+ displayName : ' 🚀 Publish to test.pypi.org (Preview )'
124124 dependsOn : Build
125125 condition : >
126126 and(
@@ -129,7 +129,7 @@ stages:
129129 )
130130 jobs :
131131 - deployment : DeployMSALPython
132- displayName : ' Upload to MSAL-Python ( test.pypi.org) '
132+ displayName : ' Upload to test.pypi.org'
133133 pool :
134134 vmImage : ubuntu-latest
135135 # Optional: add approval checks in ADO → Pipelines → Environments → MSAL-Python
@@ -151,7 +151,7 @@ stages:
151151# Runs when: publishTarget == 'pypi'
152152# ══════════════════════════════════════════════════════════════════════════════
153153- stage : PublishPyPI
154- displayName : ' Publish → PyPI'
154+ displayName : ' 🚀 Publish to PyPI (Production) '
155155 dependsOn : Build
156156 condition : >
157157 and(
@@ -160,7 +160,7 @@ stages:
160160 )
161161 jobs :
162162 - deployment : DeployPyPI
163- displayName : ' Upload to PyPI '
163+ displayName : ' Upload to pypi.org '
164164 pool :
165165 vmImage : ubuntu-latest
166166 # IMPORTANT: configure a required manual approval on this environment in
0 commit comments