Skip to content

Commit

Permalink
fix: cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
arpowers committed Feb 8, 2022
1 parent e1f95e6 commit ebab15c
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions @core/build/release.ts
Expand Up @@ -140,10 +140,21 @@ const publishPackage = async (
description: `publishing ${moduleName}...`,
})
try {
await commit("npm", ["publish", "-w", moduleName, "--access", access], {
cwd: pkgRoot,
stdio: "pipe",
})
await commit(
"npm",
[
"publish",
"--new-version",
version,
...(version ? ["--tag", version] : []),
"--access",
access,
],
{
cwd: pkgRoot,
stdio: "pipe",
},
)

logger.log({
level: "info",
Expand Down

0 comments on commit ebab15c

Please sign in to comment.