We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90fcfd0 commit 8771d61Copy full SHA for 8771d61
.Pipelines/pipeline-publish.yml
@@ -56,7 +56,7 @@ stages:
56
57
- bash: |
58
PARAM_VER="${{ parameters.packageVersion }}"
59
- SKU_VER=$(python -c "ns={}; exec(open('msal/sku.py').read(), ns); print(ns['__version__'])")
+ SKU_VER=$(grep '__version__' msal/sku.py | sed 's/.*"\(.*\)".*/\1/')
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