From 1174f7f1c46227fa2cfcf4b4fc5928388884b775 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Thu, 26 Aug 2021 22:22:39 -0700 Subject: [PATCH] Bail out if there are changes after make distcheck --- .github/scripts/build-and-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/scripts/build-and-test.sh b/.github/scripts/build-and-test.sh index 781af13..5f64832 100755 --- a/.github/scripts/build-and-test.sh +++ b/.github/scripts/build-and-test.sh @@ -9,3 +9,9 @@ cd build make -j V=0 make -j check V=0 make -j distcheck + +# Make sure that there are no changes to the source code +# This may happen if the source have changed with differences to the +# translation files and templates. Enabling this will allow us to catch +# missing/modified translations. +git diff --exit-code