diff --git a/tasks.py b/tasks.py index a6dd483..1e8474c 100644 --- a/tasks.py +++ b/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))