Skip to content

Commit 6a5ac3c

Browse files
authored
Merge translations from newer branch
1 parent a4bb92c commit 6a5ac3c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/sync.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ jobs:
9898
env:
9999
TX_TOKEN: ${{ secrets.TX_TOKEN }}
100100

101+
- name: Merge translations from newer branch
102+
if: inputs.tx_project != 'python-newest' # python-newest doesn't have a newer branch
103+
run: |
104+
newer_branch=${PYDOC_VERSION%%.*}.$((${PYDOC_VERSION##*.}+1))
105+
git clone --depth 1 --single-branch --branch $newer_branch https://github.com/python/python-docs-pt-br ${newer_branch}-dir
106+
pomerge --from ./${newer_branch}-dir/**/*.po --to ./${{ env.LANGUAGE_DIR }}/**/*.po
107+
rm -rf ./${newer_branch}-dir
108+
101109
- name: powrap
102110
if: steps.pull.outcome == 'success'
103111
run: |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy