Sha256: 51d4137537a874bc7987019a29da614a0af7ce872ee9357cd1612dfa278cd583

Contents?: true

Size: 942 Bytes

Versions: 47

Compression:

Stored size: 942 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/**/*_test.rb']
end

task :patch do
  system "gem bump --tag"
end

task :minor do
  system "gem bump --version minor --tag"
end

task :major do
  system "gem bump --version major --tag"
end

task :publish => [:build] do
  $VERBOSE = nil
  load 'railman-deployment/version.rb'
  system "gem push pkg/railman-deployment-#{RailmanDeployment::VERSION}.gem"
end

desc "Bump patch version, create git tag, build the gem and release to geminabox (default)"
task :release_patch => [:test, :patch, :publish]

desc "Bump minor version, create git tag, build the gem and release to geminabox"
task :release_minor => [:test, :minor, :publish]

desc "Bump major version, create git tag, build the gem and release to geminabox"
task :release_major => [:test, :major, :publish]


task :default => :test

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
railman-deployment-2.2.8 Rakefile
railman-deployment-2.2.6 Rakefile
railman-deployment-2.2.5 Rakefile
railman-deployment-2.2.4 Rakefile
railman-deployment-2.2.3 Rakefile
railman-deployment-2.2.2 Rakefile
railman-deployment-2.2.1 Rakefile
railman-deployment-2.2.0 Rakefile
railman-deployment-2.1.0 Rakefile
railman-deployment-2.0.14 Rakefile
railman-deployment-2.0.13 Rakefile
railman-deployment-2.0.12 Rakefile
railman-deployment-2.0.11 Rakefile
railman-deployment-2.0.10 Rakefile
railman-deployment-2.0.9 Rakefile
railman-deployment-2.0.8 Rakefile
railman-deployment-2.0.7 Rakefile
railman-deployment-2.0.6 Rakefile
railman-deployment-2.0.5 Rakefile
railman-deployment-2.0.4 Rakefile