README.md in uppityrobot-0.2.0 vs README.md in uppityrobot-0.3.1

- old
+ new

@@ -105,21 +105,31 @@ client = UppityRobot::Client.new(:getMonitors, {search: 'aspace'}) client.filter({'friendly_name' => 'columbia'}).each { |m| puts m.inspect; } ``` -## Release +## Including UppityRobot tasks in another project -To release a new version: +```ruby +require "uppityrobot" +spec = Gem::Specification.find_by_name("uppityrobot") +load File.join(spec.gem_dir, "lib", "uppityrobot", "Rakefile") +``` -- Update the version number in `version.rb` -- Run `bundle exec rake release` +## Release -This: +```bash +gem install gem-release +# https://github.com/svenfuchs/gem-release#gem-bump +gem bump --version $VERSION --tag +# i.e. +gem bump --version minor --tag --pretend # dryrun +gem bump --version minor --tag # do it for real -- Creates a git tag for the version -- Pushes git commits and the created tag -- Pushes the `.gem` file to [rubygems.org](https://rubygems.org). +bundle +git commit --amend # needed via Rakefile +# now push & release +``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/lyrasis/uppityrobot.