Pass the --otp
code when publishing
This commit is contained in:
parent
e85fc22544
commit
606bf7d19e
1 changed files with 2 additions and 1 deletions
3
tasks.py
3
tasks.py
|
@ -13,4 +13,5 @@ def release(c):
|
|||
"""
|
||||
c.run("find . -name '*~' -delete")
|
||||
c.run('npm run build')
|
||||
c.run('npm publish')
|
||||
otp = c.run('otp npm').stdout.strip()
|
||||
c.run('npm publish --otp {}'.format(otp))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue