From 484d84c1c0bcbbd3189d5ba6195c5d845bc7e40c Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Mon, 29 Jun 2020 00:46:25 +0300 Subject: [PATCH] Update prepare patch --- .bin/prepare-patch.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bin/prepare-patch.sh b/.bin/prepare-patch.sh index cf67e5f..1567aea 100755 --- a/.bin/prepare-patch.sh +++ b/.bin/prepare-patch.sh @@ -84,7 +84,7 @@ COMMITTERS=$(git --no-pager log --format="%ce" $BASE_HASH...$HEAD_HASH | uniq) # Check the test cases for spaces after ">" set +e -git --no-pager diff $BASE_HASH..$HEAD_HASH t | grep "\+.*> .*" +git --no-pager diff $BASE_HASH..$HEAD_HASH | grep "\+.*> .*" GREP_RETURN_CODE=$? set -e if [ $GREP_RETURN_CODE -eq 0 ]; then @@ -115,8 +115,8 @@ BASE_REF=$(git tag --points-at $BASE_HASH) test $BASE_REF || BASE_REF=$(git branch -a --contains $BASE_HASH | grep $UPSTREAM_REMOTE | sed 's/.*\///' | head -n1) read -r -d '\0' URLS <