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.echo("Update ISSUE_TEMPLATE.md");
|
||||||
shell.sed(
|
shell.sed(
|
||||||
"-i",
|
"-i",
|
||||||
/(?!Prettier Version.*?)\d+\.\d+\.\d+/,
|
/(Prettier Version.+?)\d+\.\d+\.\d+/,
|
||||||
pkg.version,
|
`$1${pkg.version}`,
|
||||||
".github/ISSUE_TEMPLATE.md"
|
".github/ISSUE_TEMPLATE.md"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue