jutzig / github-release-plugin

uses the github release api to upload files
69 stars 24 forks source link

Cannot release because of 2-factor auth #8

Open fbiville opened 9 years ago

fbiville commented 9 years ago

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?

jutzig commented 9 years ago

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