Sha256: 0150821f612c6c8a173817b8871d06b2ad9afd1c2c4bc7febacc87f05be9b62c

Contents?: true

Size: 1.02 KB

Versions: 16

Compression:

Stored size: 1.02 KB

Contents

desc 'Release the website and new gem version'
task :deploy => [:check_version, :website, :release] do
  puts "Remember to create SVN tag:"
  puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
    "svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
  puts "Suggested comment:"
  puts "Tagging release #{CHANGES}"
end

namespace :deploy do
  desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
  task :local => [:website_generate, :install_gem]

  task :check_version do
    unless ENV['VERSION']
      puts 'Must pass a VERSION=x.y.z release version'
      exit
    end
    unless ENV['VERSION'] == VERS
      puts "Please update your version.rb to match the release version, currently #{VERS}"
      exit
    end
  end

  desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
  task :install_gem_no_doc => [:clean, :package] do
    sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rubyrep-2.0.1 tasks/deployment.rake
rubyrep-2.0.0 tasks/deployment.rake
rubyrep-1.2.0 tasks/deployment.rake
rubyrep-1.1.2 tasks/deployment.rake
rubyrep-1.1.1 tasks/deployment.rake
rubyrep-1.1.0 tasks/deployment.rake
rubyrep-1.0.9 tasks/deployment.rake
rubyrep-1.0.8 tasks/deployment.rake
rubyrep-1.0.3 tasks/deployment.rake
rubyrep-1.0.4 tasks/deployment.rake
rubyrep-1.0.5 tasks/deployment.rake
rubyrep-1.0.6 tasks/deployment.rake
rubyrep-1.0.7 tasks/deployment.rake
rubyrep-1.0.1 tasks/deployment.rake
rubyrep-1.0.0 tasks/deployment.rake
rubyrep-1.0.2 tasks/deployment.rake