Skip to content
Release your ruby gems with ease. (What a bold statement for such a tiny plugin ...)
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.bundle
lib
test
.gitignore
Gemfile
README.textile
gem-release.gemspec

README.textile

gem release

This gem plugin adds a bootstrap, tag and a release command to the rubygems gem command.

The tag command

  • executes git tag -am 'tag [tag_name]' [tag_name] and
  • executes git push --tags origin

… with tag_name being the version number as specified in your .gemspec preceeded by v (e.g. v0.0.1).

The release command

  • builds a gem from your gemspec and
  • pushes it to rubygems.org
  • deletes the gem file
  • optionally invokes the tag command

The bootstrap command

  • generates an initial [gem_name].gemspec file with sane defaults
  • optionally scaffolds: lib/[gem_name]/version.rb README test/
  • optionally inits a git repo, creates it on github and pushes it to github

Installation

Obviously …

  $ gem install gem-release

Usage

  $ gem release path/to/your.gemspec
  $ gem release

If you don’t specify a gemspec filename the first \*.gemspec file found in your current working directory will be used.

Something went wrong with that request. Please try again.