fix smth
This commit is contained in:
+6
-5
@@ -55,13 +55,9 @@ echo
|
|||||||
|
|
||||||
for commit_hash in $commits_to_push
|
for commit_hash in $commits_to_push
|
||||||
do
|
do
|
||||||
echo " > Testing $commit_hash"
|
|
||||||
echo -n " > "
|
|
||||||
git log --pretty=format:"%H %s" | grep $commit_hash | grep -o " .*"
|
|
||||||
echo
|
|
||||||
|
|
||||||
git checkout $commit_hash >&/dev/null
|
git checkout $commit_hash >&/dev/null
|
||||||
status_code=$?
|
status_code=$?
|
||||||
|
|
||||||
if [ $status_code -ne 0 ]
|
if [ $status_code -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "git checkout $commit_hash failed"
|
echo "git checkout $commit_hash failed"
|
||||||
@@ -69,6 +65,11 @@ do
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo " > Testing $commit_hash"
|
||||||
|
echo -n " > "
|
||||||
|
git log --pretty=format:"%H %s" | grep $commit_hash | grep -o " .*"
|
||||||
|
echo
|
||||||
|
|
||||||
make -j precommit 2>&1
|
make -j precommit 2>&1
|
||||||
status_code=$?
|
status_code=$?
|
||||||
if [ $status_code -ne 0 ]
|
if [ $status_code -ne 0 ]
|
||||||
|
|||||||
Reference in New Issue
Block a user