Skip to content

Commit 49685a6

Browse files
committed
fix(ci): format publish scripts
1 parent 3fcd98f commit 49685a6

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

scripts/release/prerelease.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,16 @@ function main() {
7979
const tarball = `${p.name.replace("@", "").replace("/", "-")}-${p.pkg.version}.tgz`;
8080
run(
8181
"npx",
82-
["--yes", "npm@11.15.0", "publish", tarball, "--tag", distTag, "--access", "public"],
82+
[
83+
"--yes",
84+
"npm@11.15.0",
85+
"publish",
86+
tarball,
87+
"--tag",
88+
distTag,
89+
"--access",
90+
"public",
91+
],
8392
{ cwd: p.dir },
8493
);
8594
}

scripts/release/publish-release.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,16 @@ async function main() {
160160
const tarball = `${p.name.replace("@", "").replace("/", "-")}-${version}.tgz`;
161161
run(
162162
"npx",
163-
["--yes", "npm@11.15.0", "publish", tarball, "--tag", "latest", "--access", "public"],
163+
[
164+
"--yes",
165+
"npm@11.15.0",
166+
"publish",
167+
tarball,
168+
"--tag",
169+
"latest",
170+
"--access",
171+
"public",
172+
],
164173
{ cwd: p.dir },
165174
);
166175
}

0 commit comments

Comments
 (0)