Print an error in CI if translation is incomplete
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
cd $(dirname $0)/..
|
cd $(dirname $0)/..
|
||||||
|
|
||||||
WIVRN_POT=$(mktemp)
|
WIVRN_POT=$(mktemp)
|
||||||
@@ -22,6 +20,8 @@ do
|
|||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
RC=1
|
RC=1
|
||||||
|
|
||||||
|
echo ::error file=$i::$i is not up to date
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -39,6 +39,8 @@ do
|
|||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
RC=1
|
RC=1
|
||||||
|
|
||||||
|
echo ::error file=$i::$i is not up to date
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm $i.new
|
rm $i.new
|
||||||
|
|||||||
Reference in New Issue
Block a user