fixed: missing .* in absolute revision jenkins re

This commit is contained in:
Arne Morten Kvarving committed 2026-04-07 10:55:10 +02:00
1 parent e4842a3569
commit f2798ecbd1
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ if grep -q "opm-common=" <<< $ghprbCommentBody
then
if test -n "$absolute_revisions"
then
upstreamRev[opm-common]=$(echo $ghprbCommentBody | sed -r 's/.*opm-common=([^ ]+)/\1/g')
upstreamRev[opm-common]=$(echo $ghprbCommentBody | sed -r 's/.*opm-common=([^ ]+).*/\1/g')
else
upstreamRev[opm-common]=pull/$(echo $ghprbCommentBody | sed -r 's/.*opm-common=([0-9]+).*/\1/g')/merge
fi