build-release-tarball: Cleanup Git version sanity check.

Checking for whether tests appear is going to be a more stable
long-term check than looking for zilencer, which we might eventually
include in releases.
This commit is contained in:
Tim Abbott 2017-08-15 20:06:53 -07:00
parent a38d846e8b
commit 9b109b4b73
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ TARBALL=$TMPDIR/$prefix.tar
git archive -o "$TARBALL" "--prefix=$prefix/" HEAD
if tar -tf "$TARBALL" | grep -q -e zilencer -e puppet/zulip_internal; then
if tar -tf "$TARBALL" | grep -q -e ^zerver/tests; then
echo "Excluded files remain in tarball!";
echo "Versions of git 1.8.1.1 - 1.8.1.6 have broken .gitattributes syntax";
exit 1;