Skip to content

Commit 0045324

Browse files
committed
gulp
1 parent 7783440 commit 0045324

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release/check_commit_metadata.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ main() {
122122
# "chore: foo bar (cherry-pick #42) (#43)".
123123
if [[ ${title1} == *"(cherry-pick #"* ]]; then
124124
title1=${title1%" ("*}
125-
pr=${title1#*#}
125+
pr=${title1##*#}
126126
pr=${pr%)}
127127
title1=${title1%" ("*}
128128
title1="${title1} (#${pr})"$'\n'
129129
fi
130130
if [[ ${title2} == *"(cherry-pick #"* ]]; then
131131
title2=${title2%" ("*}
132-
pr=${title2#*#}
132+
pr=${title2##*#}
133133
pr=${pr%)}
134134
title2=${title2%" ("*}
135135
title2="${title2} (#${pr})"$'\n'

0 commit comments

Comments
 (0)