1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-01 15:19:35 +02:00

Fix direction of translation diff. (#2235)

It was showing the diff from new to old, rather than old to new.
This commit is contained in:
Andrew Walbran 2024-07-19 16:28:34 +01:00 committed by GitHub
parent df2076b111
commit 92de96f066
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,10 +179,10 @@ jobs:
uses: ./.github/workflows/install-mdbook
- name: Copy latest version of translations
run: cp -r po old-po
run: cp -r po new-po
- name: Checkout base version
run: git checkout ${{ github.event.pull_request.base.sha }}
- name: Translation diff
run: i18n-report diff old-po/ po/ > $GITHUB_STEP_SUMMARY
run: i18n-report diff po/ new-po/ > $GITHUB_STEP_SUMMARY