Unable to release a gem

kojiee's Avatar

kojiee

20 Feb, 2019 08:18 AM

I created a new tag and tried to release the abbreviato gem but unable to do so

bundle exec rake release
abbreviato 0.8.7 built to pkg/abbreviato-0.8.7.gem.
abbreviato 0.8.7 built to pkg/abbreviato-0.8.7.gem.
Tag v0.8.7 has already been created.
Tag v0.8.7 has already been created.
rake aborted!
Pushing gem to https://rubygems.org...
Repushing of gem versions is not allowed.
Please use `gem yank` to remove bad gem releases.
/Users/rclemente/.rbenv/versions/2.4.4/bin/bundle:23:in `load'
/Users/rclemente/.rbenv/versions/2.4.4/bin/bundle:23:in `<main>'
Tasks: TOP => release => release:rubygem_push
(See full trace by running task with --trace)
  1. Support Staff 1 Posted by sonalkr132 on 25 Feb, 2019 04:09 PM

    sonalkr132's Avatar

    Pushing gem to https://rubygems.org... Repushing of gem versions is not allowed.

    I am not sure when did you run rake release and found it failing. You (or your co-owner) must have already pushed and yanked 0.8.7 by then. You can see complete list of versions here.
    If you are trying to re-publish the same version, that is something we don't support.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac