Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision ea164309dea4e7f92aeda6daa9e9679290c68827 authored by Miss Islington (bot) on 29 June 2020, 05:36:04 UTC, committed by GitHub on 29 June 2020, 05:36:04 UTC
(cherry picked from commit 02134dae448c7885c9c07adfc6970f878db33372) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
1 parent cb53b8c
Tip revision: ea164309dea4e7f92aeda6daa9e9679290c68827 authored by Miss Islington (bot) on 29 June 2020, 05:36:04 UTC
bpo-41123: Doc: PyLong_FromUnicode will be removed in 3.10 (GH-21205)
bpo-41123: Doc: PyLong_FromUnicode will be removed in 3.10 (GH-21205)
Tip revision: ea16430
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 ...