Update page path in release script (#17109)
This commit is contained in:
1 parent
3e5456fcf6
commit
bc6a8b4106
1 file changed
+2
-2
@@ -33,7 +33,7 @@ async function update() {
|
||||
);
|
||||
}
|
||||
|
||||
processFile("website/pages/en/index.js", (content) =>
|
||||
processFile("website/src/pages/index.jsx", (content) =>
|
||||
content
|
||||
.replace(
|
||||
/(<strong data-placeholder="dependent-npm">)(.*?)(<\/strong>)/u,
|
||||
@@ -49,7 +49,7 @@ async function update() {
|
||||
"Checking if dependents count has been updated",
|
||||
async () =>
|
||||
(await runGit(["diff", "--name-only"])).stdout ===
|
||||
"website/pages/en/index.js",
|
||||
"website/src/pages/index.jsx",
|
||||
);
|
||||
|
||||
if (isUpdated) {
|
||||
|
||||
Reference in new issue
Block a user