Hard-break make dist when there are uncommitted changes
Similar to NEWS-file test, add also SKIP_COMMIT_TEST=1 to be able to skip any such issue. This helps to notice uncommitted changes before the tarball is created.
This commit is contained in:
@ -8,4 +8,12 @@ if [ ! $? -eq 0 ]; then
|
||||
echo " There are uncommitted changes which will not be part of the tarball " 1>&2
|
||||
echo "***********************************************************************" 1>&2
|
||||
echo "" 1>&2
|
||||
|
||||
if [ "$SKIP_COMMIT_TEST" = "1" ]; then
|
||||
echo "(Failed commit test skipped due to SKIP_COMMIT_TEST=1 being set.)" 1>&2
|
||||
exit 0
|
||||
else
|
||||
echo "(This test can be skipped when SKIP_COMMIT_TEST=1 is set.)" 1>&2
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user