Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for YubiKey OTP codes during release
This patch adds support for automatically getting OTP codes from your YubiKey during release. You must have the `ykman` commandline tool installed, and have two accounts setup with the names `rubygems.org` and `npmjs.com`. For example, the output from `ykman oath accounts list` on my machine is this: ``` $ ykman oath accounts list npmjs.com:[email protected] rubygems.org:[email protected] ``` If you meet these conditions, you can do `rake release` without typing an OTP code for every gem. If no `ykman` tool is found on your system, this will just fall back to asking for an OTP code.
- Loading branch information