Skip to content

Commit

Permalink
chore(npm-release.sh): add prompt to enter npm OTP before release
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Jan 21, 2021
1 parent 97b2ca2 commit f0c111e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion npm-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ npm version $bump -m "chore(release): %s"
git push --follow-tags
npx conventional-github-releaser -p angular

npx lerna exec --no-bail -- npm publish
read -p "Please enter your npm 2FA one-time password: " NPM_OTP </dev/tty

npx lerna exec --no-bail -- npm publish --otp=$NPM_OTP

0 comments on commit f0c111e

Please sign in to comment.