Sha256: d20ddee953aa174e002372281fcb00c8062e7945bde8a993e1eb3c47ac9cc1c9
Contents?: true
Size: 537 Bytes
Versions: 64
Compression:
Stored size: 537 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task :default => :spec namespace :version do desc "Bump version for specified type (pre, major, minor patch)" task :bump, [:type] do |_, args| bump_version_for(args.type) end end def bump_version_for(version_type) sh "gem bump --version #{version_type} " + "&& bundle install " + "&& export LAST_MESSAGE=\"$(git log -1 --pretty=%B)\" " + "&& git commit -a --amend -m \"${LAST_MESSAGE} [ci skip]\"" end
Version data entries
64 entries across 64 versions & 6 rubygems