fix(build): update ISSUE_TEMPLATE version regex to work as intended (#2785)
parent
955a2c1472
commit
8b02f702d5
|
@ -101,8 +101,8 @@ shell.sed(
|
|||
shell.echo("Update ISSUE_TEMPLATE.md");
|
||||
shell.sed(
|
||||
"-i",
|
||||
/(?!Prettier Version.*?)\d+\.\d+\.\d+/,
|
||||
pkg.version,
|
||||
/(Prettier Version.+?)\d+\.\d+\.\d+/,
|
||||
`$1${pkg.version}`,
|
||||
".github/ISSUE_TEMPLATE.md"
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue