uploadcare / uploadcare-ruby

Ruby API client that handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
https://uploadcare.com
MIT License
39 stars 28 forks source link

The autorelease github action script does not work #89

Closed dmitrijivanchenko closed 3 years ago

dmitrijivanchenko commented 3 years ago

The script that is set for pushing the gem to RubyGems is not working with enabled 2-factor authentication. It would be nice to get it working to automate the release process. Need to edit the script so it could apply OTP-code:

Stack trace:

...
+ exec rake release
uploadcare-ruby 3.1.0 built to pkg/uploadcare-ruby-3.1.0.gem.
Tag v3.1.0 has already been created.
rake aborted!
Pushing gem to https://rubygems.org...
You have enabled multi-factor authentication. Please enter OTP code.
You have enabled multifactor authentication but no OTP code provided. Please fill it and retry.
/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => release => release:rubygem_push
(See full trace by running task with --trace)
dmitry-mukhin commented 3 years ago

OTP settings have changed. This should not be an issue anymore, please check)

dmitrijivanchenko commented 3 years ago

The autorelease github action script works properly! :tada: