Commit 03efea1
fix(ci): store regex in variable to fix bash parsing error (#564)
The regex pattern for parsing conventional commits contained special
characters (parentheses, brackets) that bash was misinterpreting,
causing "syntax error in conditional expression: unexpected token ')'"
Fix by storing the pattern in a variable first, which prevents bash
from parsing the special characters during script expansion.
Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 783e071 commit 03efea1
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
183 | 186 | | |
184 | | - | |
| 187 | + | |
185 | 188 | | |
186 | 189 | | |
187 | 190 | | |
| |||
0 commit comments