Skip to content

Commit

Permalink
Adding some rake tasks for bumping gem versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zdennis committed May 14, 2018
1 parent 925adff commit 68491fc
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,30 @@ require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task :default => :spec
task :default => :spec

namespace :version do
desc "Show the current gem version"
task :show do
system <<-SHELL
bump current
SHELL
end

namespace :bump do
desc "Bump the gem one major version"
task :major do
system "bump major"
end

desc "Bump the gem one minor version"
task :minor do
system "bump minor"
end

desc "Bump the gem one patch version"
task :patch do
system "bump patch"
end
end
end

0 comments on commit 68491fc

Please sign in to comment.