summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-09-15 13:28:09 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-09-15 13:28:09 +0000
commit8c3da813ef11426c4231b7ec348edaae8b874c31 (patch)
treea8a5c15f67c18bcf8d3a8ac87d78ea24ab63ed5a /.gitlab-ci.yml
parentFix eaae266840146a0faa3332f253ba7bd63eecbb21 (diff)
downloadinkscape-8c3da813ef11426c4231b7ec348edaae8b874c31.tar.gz
inkscape-8c3da813ef11426c4231b7ec348edaae8b874c31.zip
Update POTFILES.in and show diff in related CI test
Diffstat (limited to '')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 195b402c0..54293ba65 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -161,8 +161,10 @@ translations:
# check if POTFILES.in should be updated in the repo (shall we automate this?)
- 'if [ -n "$(diff POTFILES.in.1 POTFILES.in.2)" ]; then
- echo "New translatable source files were added.";
- echo "Please update POTFILES.in so they can be translated (or add them to POTFILES.skip)";
+ git diff POTFILES.in
+ echo "New translatable strings in source files found.";
+ echo "Please add the paths to POTFILES.in so they can be translated";
+ echo "(or add them to POTFILES.skip to exlude them from translations).";
exit 1;
fi'
- rm POTFILES.in.1 POTFILES.in.2