Skip to content

Commit d634d53

Browse files
authored
Commit checker job:fix minor typo (#857)
Fixed if condition typo Resolves: OLPEDGE-1919 Signed-off-by: Yaroslav Stefinko <ext-yaroslav.stefinko@here.com>
1 parent 0632c22 commit d634d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/misc/commit_checker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ resolves=$(cat commit.log | grep 'Resolves: ') || true
8080
see=$(cat commit.log | grep 'See also: ') || true
8181

8282
# This is verification that we have any of these possible issue references.
83-
if [ -n "${relates_to}" ] || [ -n "${resolves}"] || [ -n "${see}" ] ; then
83+
if [[ -n "${relates_to}" ]] || [[ -n "${resolves}" ]] || [[ -n "${see}" ]] ; then
8484
# This verification is needed for correct Jira linking in Gitlab.
8585
if [[ "$(echo ${relates_to}| cut -d":" -f2)" =~ [a-z] ]] || [[ "$(echo ${resolves}| cut -d":" -f2)" =~ [a-z] ]] || [[ "$(echo ${see}| cut -d":" -f2)" =~ [a-z] ]] ; then
8686
echo ""

0 commit comments

Comments
 (0)