bradphelan/jasminerice — pull request #18 by netzpirat (2011-11-03 07:29:55+00:00)
Title: Update Jasminerice build process

I was looking at the Jasminerice commits to find out on what commit the latest gem version was released. Unfortunately there were no release tags, so I thought you may not be aware of the `release` task that Bundler comes with. After updating the version number in the gemspec to the latest released version and adding the Bundler rake tasks to the `Rakefile`, you get the following:

$ rake -T
rake build # Build jasminerice-0.0.7.gem into the pkg directory
rake clobber_rdoc # Remove RDoc HTML files
rake install # Build and install jasminerice-0.0.7.gem into system gems
rake rdoc # Build RDoc HTML files
rake release # Create tag v0.0.7 and build and push jasminerice-0.0.7...
rake rerdoc # Rebuild RDoc HTML files

Now you can simply increase the version number in your gemspec and execute:

$ rake release

And Bundler will tag the release, push the changes to master, build a gem and push it to RubyGems.