Skip to content

Commit 7225c54

Browse files
committed
Ignore cherry-picked commits that don't have a tag
In order to avoid a script failure ignore cherry-picked commits that don't have a tag otherwise the script will try to find a non existing tag. Change-Id: I10dac491baa8aae8cf4f0fd4b638e2cc34253584
1 parent 4e850ee commit 7225c54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

linux-version-finder-single

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ get_version()
1111
commits="$1 "
1212

1313
# Add the backports
14-
commits+=$(git log --all --format=%H \
14+
commits+=$(git log --tags --format=%H \
1515
--grep="\[ Upstream commit $1 \]" --grep="commit $1 upstream" --grep="(cherry picked from commit $1)")
1616

1717
# Print all of them

0 commit comments

Comments
 (0)