lib/bump/tasks.rb in bump-0.5.1 vs lib/bump/tasks.rb in bump-0.5.2
- old
+ new
@@ -12,11 +12,11 @@
desc "Show current gem version"
else
desc "Bump #{bump} part of gem version"
end
- task bump do
- run_bump.call(bump, {})
+ task bump, :tag do |_task, args|
+ run_bump.call(bump, :tag => args[:tag])
end
end
desc "Sets the version number using the VERSION environment variable"
task :set do