Skip to content

Commit 8f45a68

Browse files
author
Brian Vaughn
committed
Add 2fa OTP code to npm dist-tag command too
1 parent 71c0e05 commit 8f45a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/publish-commands/publish-to-npm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const push = async ({cwd, dry, otp, packages, version, tag}) => {
6464
// Update the @next tag to also point to it (so @next doesn't lag behind).
6565
if (!isPrerelease) {
6666
await execUnlessDry(
67-
`npm dist-tag add ${project}@${packageVersion} next`,
67+
`npm dist-tag add ${project}@${packageVersion} next ${twoFactorAuth}`,
6868
{cwd: path, dry}
6969
);
7070
}

0 commit comments

Comments
 (0)