We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 302e9de commit 90fcfd0Copy full SHA for 90fcfd0
.Pipelines/pipeline-publish.yml
@@ -56,7 +56,7 @@ stages:
56
57
- bash: |
58
PARAM_VER="${{ parameters.packageVersion }}"
59
- SKU_VER=$(python -c "exec(open('msal/sku.py').read()); print(__version__)")
+ SKU_VER=$(python -c "ns={}; exec(open('msal/sku.py').read(), ns); print(ns['__version__'])")
60
61
if [ -z "$PARAM_VER" ]; then
62
echo "##vso[task.logissue type=error]packageVersion is required. Enter the version to publish (must match msal/sku.py __version__)."
0 commit comments