CI: ignore changes in location (e.g. source-line changes of strings) for string freeze

This commit is contained in:
Adriaan de Groot 2019-11-28 15:55:15 +01:00
parent aa789fed46
commit 3bf1fbba65

View File

@ -39,6 +39,7 @@ tx_sum()
git worktree add $WORKTREE_NAME $WORKTREE_TAG > /dev/null 2>&1 || { echo "! Could not create worktree." ; exit 1 ; } git worktree add $WORKTREE_NAME $WORKTREE_TAG > /dev/null 2>&1 || { echo "! Could not create worktree." ; exit 1 ; }
( cd $WORKTREE_NAME && sh ci/txpush.sh --no-tx ) > /dev/null 2>&1 || { echo "! Could not re-create translations." ; exit 1 ; } ( cd $WORKTREE_NAME && sh ci/txpush.sh --no-tx ) > /dev/null 2>&1 || { echo "! Could not re-create translations." ; exit 1 ; }
( cd $WORKTREE_NAME && sed -i'' -e '/<location filename/d' $TX_FILE_LIST )
_SUM=$( cd $WORKTREE_NAME && cat $TX_FILE_LIST | sha256sum ) _SUM=$( cd $WORKTREE_NAME && cat $TX_FILE_LIST | sha256sum )
echo "$_SUM" echo "$_SUM"
} }