Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 3c29675d8736cb1860f342d872ae41e342c6d383 authored by Raúl Cumplido on 12 March 2020, 14:38:19 UTC, committed by GitHub on 12 March 2020, 14:38:19 UTC
Received email on the docs mailing list to fix a typo from `sys.platlitdir` which doesn't exist to the correct new attribute `sys.platlibdir` Automerge-Triggered-By: @vstinner
1 parent 75cd5bf
Tip revision: 3c29675d8736cb1860f342d872ae41e342c6d383 authored by Raúl Cumplido on 12 March 2020, 14:38:19 UTC
bpo-1294959: Fix typo for new attribute platlibdir. (GH-18960)
bpo-1294959: Fix typo for new attribute platlibdir. (GH-18960)
Tip revision: 3c29675
prebuild-checks.yml
steps:
- checkout: self
fetchDepth: 5
- script: echo "##vso[task.setvariable variable=diffTarget]HEAD~1"
displayName: Set default diff target
- script: |
git fetch -q origin $(System.PullRequest.TargetBranch)
echo "##vso[task.setvariable variable=diffTarget]HEAD \$(git merge-base HEAD FETCH_HEAD)"
displayName: Fetch comparison tree
condition: and(succeeded(), variables['System.PullRequest.TargetBranch'])
- script: |
if ! git diff --name-only $(diffTarget) | grep -qE '(\.rst$|^Doc|^Misc)'
then
echo "No docs were updated: docs.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Docs were updated: docs.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect documentation changes
name: docs
- script: |
if ! git diff --name-only $(diffTarget) | grep -qvE '(\.rst$|^Doc|^Misc)'
then
echo "Only docs were updated: tests.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Code was updated: tests.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect source changes
name: tests
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...