File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,19 @@ if [ -z "$1" ]; then
2525 MERGE_BASE=$( echo $CI_COMMIT_RANGE | cut -d. -f1)
2626 [ -z $MERGE_BASE ] && \
2727 MERGE_BASE=$( git log --pretty=" %cN:%H" | grep GitHub | head -n1 | cut -d: -f2)
28- range =$MERGE_BASE ..$CI_COMMIT
28+ RANGE =$MERGE_BASE ..$CI_COMMIT
2929 else
30- merge_base =$( git log --pretty=" %cN:%H" | grep GitHub | head -n1 | cut -d: -f2)
31- range= $merge_base ..HEAD
30+ MERGE_BASE =$( git log --pretty=" %cN:%H" | grep GitHub | head -n1 | cut -d: -f2)
31+ RANGE= $MERGE_BASE ..HEAD
3232 fi
3333else
34- range =" $1 "
34+ RANGE =" $1 "
3535fi
3636
37- commits =$( git log --pretty=%H $range )
37+ COMMITS =$( git log --pretty=%H $RANGE )
3838
3939set -e
4040
41- for commit in $commits ; do
41+ for commit in $COMMITS ; do
4242 ` dirname $0 ` /check-commit.sh $commit
4343done
You can’t perform that action at this time.
0 commit comments