Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/bin/expect <<EOD
- spawn npm adduser
- expect {
- "Username:" {send "$USERNAMEr"; exp_continue}
- "Password:" {send "$PASSWORDr"; exp_continue}
- "Email: (this IS public)" {send "$EMAILr"; exp_continue}
- }
- EOD
- npm adduser <<!
- $NPM_USERNAME
- $NPM_PASSWORD
- $NPM_EMAIL
- !
- npm_push:
- dependencies:
- - test
- script:
- - npm adduser <<!
- $NPM_USERNAME
- $NPM_PASSWORD
- $NPM_EMAIL
- !
- - npm config set registry https://$NPM_URL
- - npm push
Add Comment
Please, Sign In to add comment