Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bf0b5e2

Browse files
committed
Prompt for 2fa auth code
1 parent 6513c2d commit bf0b5e2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎tasks/publish.sh‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,10 @@ fi
3535
cd packages/react-error-overlay/
3636
npm run build:prod
3737
cd ../..
38+
39+
# Get 2FA
40+
echo "Please enter npm two-factor auth code: "
41+
read otp
42+
3843
# Go!
39-
./node_modules/.bin/lerna publish --independent --npm-client=npm "$@"
44+
NPM_CONFIG_OTP=$otp./node_modules/.bin/lerna publish --independent --npm-client=npm "$@"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /