Skip to content

Commit 039bbd4

Browse files
committed
Fix variable assignment syntax for Python version in apigee-build.yml
1 parent ab194ed commit 039bbd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

azure/common/apigee-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
service_name: "${{ parameters.service_name }}"
148148

149149
- bash: |
150-
pyversion="$python_version"
150+
pyversion="$(python_version)"
151151
PATCH=$(curl -fsSL https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json \
152152
| jq -r --arg pyversion "$pyversion" '[ .[] | select(.stable == true) | .version
153153
| select(test("^" + ($pyversion|gsub("\\.";"\\.")) + "\\.\\d+$")) | split(".") | map(tonumber)] | max | join(".")')

0 commit comments

Comments
 (0)