Skip to content

Commit

Permalink
[ci] Add po update check
Browse files Browse the repository at this point in the history
Fail when translations or labels have changed and po files were not updated
  • Loading branch information
mengtan committed Mar 22, 2024
1 parent 27e69e6 commit 9d2f93a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/gitlab-analyze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ show_duration redemption-analyzer.sh
# @}


# check .po files
bjam update-po
[[ -z $(git status -s ./tools/i18n/po/*/) ]] || {
echo 'Error: .po files are outdated (run bjam update-po)'
exit 1
}

# Python tests and coverage
# @{
python_test()
Expand Down

0 comments on commit 9d2f93a

Please sign in to comment.