#!/usr/bin/env ruby require 'bundler/setup' require 'acme-client' version = Acme::Client::VERSION def `(command) puts super(command) if $?.exitstatus > 0 fail("failed at: #{command}") end end `git add CHANGELOG.md` `git add lib/acme/client/version.rb` `git commit -m "bump to #{version}"` `git pull --rebase origin master` `git tag 'v#{version}'` `git push --tags origin master` `gem build acme-client.gemspec` `gem push acme-client-#{version}.gem` `rm acme-client-#{version}.gem`