Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Sep 29, 2010
1 parent dedde9f commit b1d98b8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.textile
@@ -1,6 +1,10 @@
h1. gem release

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

The @bump@ command

* bumps the version number defined in @lib/[gem_name]/version.rb@ to the next major, minor or patch level or to a given, particular version number

The @tag@ command

Expand Down Expand Up @@ -50,6 +54,11 @@ h2. Usage
$ gem bootstrap --scaffold # scaffolds lib/[gem_name]/version.rb, README, test/
$ gem bootstrap --github # inits a git repo, creates it on github and pushes it to github
# (requires git config for github.user and github.token to be set)

$ gem bump # Bump the gem version to the next patch level (e.g. 0.0.1 to 0.0.2)
$ gem bump --to minor # Bump the gem version to the next minor level (e.g. 0.0.1 to 0.1.0)
$ gem bump --to major # Bump the gem version to the next major level (e.g. 0.0.1 to 1.0.0)
$ gem bump --to 1.1.1 # Bump the gem version to the given version number
</pre>

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

0 comments on commit b1d98b8

Please sign in to comment.