github-release-plugin
github-release-plugin copied to clipboard
Cannot release because of 2-factor auth
trafficstars
Hi, thanks for the good work, this is really the plugin I need! However, when I try to deploy my script to Github via the plugin, I get an error with the following contents:
java.io.IOException: {"message":"Must specify two-factor authentication OTP code.","documentation_url":"https://developer.github.com/v3/auth#working-with-two-factor-authentication"}
Any plan to support this?
Hi. You can use an auth token by adding it as <privateKey> in the server definition in your settings.xml
If you don't have one yet, you can create it here https://github.com/settings/applications