We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c6d6f3 commit 0cfe5c6Copy full SHA for 0cfe5c6
1 file changed
.github/workflows/switcher-requirements-progress.yml
@@ -34,11 +34,14 @@ jobs:
34
- name: Determine /3/ version and clone CPython
35
run: |
36
PYTHON_VERSION=$(curl -s https://docs.python.org/3/ | grep -oP 'Python \K\d+\.\d+' | head -1)
37
+ echo "PYTHON_VERSION=$PYTHON_VERSION" >> $GITHUB_ENV
38
git clone --branch "$PYTHON_VERSION" --single-branch --depth 1 https://github.com/python/cpython.git
39
40
- name: Clone translation
41
42
git clone https://github.com/python/python-docs-${{ matrix.language_code }}.git translation-repo
43
+ cd translation-repo
44
+ git switch "$PYTHON_VERSION" || echo "No translation branch $PYTHON_VERSION"
45
46
- name: Generate POT files
47
0 commit comments