We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7783440 commit 0045324Copy full SHA for 0045324
scripts/release/check_commit_metadata.sh
@@ -122,14 +122,14 @@ main() {
122
# "chore: foo bar (cherry-pick #42) (#43)".
123
if [[ ${title1} == *"(cherry-pick #"* ]]; then
124
title1=${title1%" ("*}
125
- pr=${title1#*#}
+ pr=${title1##*#}
126
pr=${pr%)}
127
128
title1="${title1} (#${pr})"$'\n'
129
fi
130
if [[ ${title2} == *"(cherry-pick #"* ]]; then
131
title2=${title2%" ("*}
132
- pr=${title2#*#}
+ pr=${title2##*#}
133
134
135
title2="${title2} (#${pr})"$'\n'
0 commit comments