Skip to content

Commit

Permalink
chore: else
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Apr 13, 2022
1 parent 7183b06 commit 182e118
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/release/publish.ts
Expand Up @@ -37,13 +37,13 @@ export async function publish(options: {
if (dryRun) {
console.log(`Dry run, skip npm publish for package ${pkg.name}...`)
npmPublish += " --dry-run"
} else {
execSync(
"echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc",
{ cwd: pkg.path, env: process.env }
)
}

execSync("echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc", {
cwd: pkg.path,
env: process.env,
})

execSync("npm whoami", { env: process.env })

execSync(npmPublish, { cwd: pkg.path, env: process.env })
Expand Down

0 comments on commit 182e118

Please sign in to comment.