Skip to content

Commit e4c00bd

Browse files
committed
fix(release): build website only once (#4016)
1 parent 7673b93 commit e4c00bd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/release/main.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ const STEPS = [
289289
"validate-reuse-version",
290290
"run-type-check",
291291
"run-cargo-check",
292-
"build-website",
293292
"build-js-artifacts",
294293
"publish-sdk",
295294
"tag-docker",
@@ -327,7 +326,7 @@ const PHASE_MAP: Record<Phase, Step[]> = {
327326
],
328327
// These steps validate the repository and build JS artifacts before
329328
// triggering release.
330-
"setup-ci": ["validate-reuse-version", "run-type-check", "run-cargo-check", "build-website", "build-js-artifacts"],
329+
"setup-ci": ["validate-reuse-version", "run-type-check", "run-cargo-check", "build-js-artifacts"],
331330
// These steps run after the required artifacts have been successfully built.
332331
"complete-ci": [
333332
"publish-sdk",
@@ -602,11 +601,6 @@ async function main() {
602601
await runCargoCheck(releaseOpts);
603602
}
604603

605-
if (shouldRunStep("build-website")) {
606-
console.log("==> Building Website");
607-
await buildWebsite(releaseOpts);
608-
}
609-
610604
if (shouldRunStep("build-js-artifacts")) {
611605
console.log("==> Building JS Artifacts");
612606
await buildJsArtifacts(releaseOpts);

0 commit comments

Comments
 (0)