Guest User

Untitled

a guest
Jun 27th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. /usr/bin/expect <<EOD
  2. spawn npm adduser
  3. expect {
  4. "Username:" {send "$USERNAMEr"; exp_continue}
  5. "Password:" {send "$PASSWORDr"; exp_continue}
  6. "Email: (this IS public)" {send "$EMAILr"; exp_continue}
  7. }
  8. EOD
  9.  
  10. npm adduser <<!
  11. $NPM_USERNAME
  12. $NPM_PASSWORD
  13. $NPM_EMAIL
  14. !
  15.  
  16. npm_push:
  17. dependencies:
  18. - test
  19. script:
  20. - npm adduser <<!
  21. $NPM_USERNAME
  22. $NPM_PASSWORD
  23. $NPM_EMAIL
  24. !
  25. - npm config set registry https://$NPM_URL
  26. - npm push
Add Comment
Please, Sign In to add comment