Pass the --otp code when publishing

This commit is contained in:
Lance Edgar 2023-01-07 13:01:53 -06:00
parent e85fc22544
commit 606bf7d19e

View file

@ -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))