File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,15 @@ export GIT_COMMITTER_EMAIL="$ROBOT_EMAIL"
29
29
DATE=$( date -u +%Y-%m-%d)
30
30
REV=$( git rev-parse --short HEAD)
31
31
MESSAGE=" Extracted l10n messages from $DATE at $REV "
32
- DIFF_WITH_ONE_LINE_CHANGE=" 2 files changed, 2 insertions (+), 2 deletions (-)"
32
+ DIFF_WITH_ONE_LINE_CHANGE=" 1 file changed, 1 insertion (+), 1 deletion (-)"
33
33
34
34
git_diff_stat=$( git diff --shortstat locale/templates/LC_MESSAGES)
35
35
36
36
info " git_diff_stat: $git_diff_stat "
37
37
38
38
# IF there are no uncommitted local changes, exit early.
39
+ # DIFF_WITH_ONE_LINE_CHANGE is there to take into account changes to the
40
+ # POT-Creation-Date on the amo.pot file.
39
41
if [[ -z " $git_diff_stat " ]] || [[ " $git_diff_stat " == * " $DIFF_WITH_ONE_LINE_CHANGE " * ]]; then
40
42
info " " "
41
43
No substantial changes to l10n strings found. Exiting the process.
You can’t perform that action at this time.
0 commit comments